Skip to content

Commit

Permalink
Update create.blade.php
Browse files Browse the repository at this point in the history
  • Loading branch information
OhmygoodR authored Jan 29, 2024
1 parent 0190691 commit 799c969
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions resources/views/projects/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
{{-- in case of title/description empty, visitor should see --}}
{{-- "The name field is required." and "The description field is required." --}}

@if($errors->all())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif

<form method="POST" action="{{ route('projects.store') }}">
@csrf
Title:
Expand Down

0 comments on commit 799c969

Please sign in to comment.