Task 3 - errors shown in validation Blade

This commit is contained in:
PovilasKorop
2021-11-29 13:17:49 +02:00
parent b2e5f809ab
commit 2d5c8bf49d
7 changed files with 114 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
{{-- Form without any design --}}
{{-- TASK: add the validation errors here - with whatever HTML structure you want --}}
{{-- in case of title/description empty, visitor should see --}}
{{-- "The name field is required." and "The description field is required." --}}
<form method="POST" action="{{ route('projects.store') }}">
@csrf
Title:
<br />
<input type="text" name="title" />
<br /><br />
Description:
<br />
<input type="text" name="description" />
<br /><br />
<button type="submit">Save</button>
</form>