Task 4 - showing specific validation error

This commit is contained in:
PovilasKorop
2021-11-29 13:34:42 +02:00
parent 2d5c8bf49d
commit 7d3ccdd6ec
7 changed files with 107 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<form method="POST" action="{{ route('products.store') }}">
@csrf
Name:
<br />
<input type="text" name="name" />
<br />
{{-- TASK: show the validation error for the specific "name" field --}}
{{-- using one Blade directive: pseudo-code below --}}
{{-- @directive --}}
{{-- {{ $message }} --}}
{{-- @endDirective --}}
<br /><br />
<button type="submit">Save</button>
</form>