mirror of
https://github.com/10h30/Test-Laravel-Validation.git
synced 2026-07-19 14:53:12 +09:00
Complete all tasks
This commit is contained in:
@@ -4,6 +4,18 @@
|
||||
{{-- in case of title/description empty, visitor should see --}}
|
||||
{{-- "The name field is required." and "The description field is required." --}}
|
||||
|
||||
@if ($errors->any())
|
||||
|
||||
<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:
|
||||
|
||||
Reference in New Issue
Block a user