Files
Test-Laravel-Validation/resources/views/projects/create.blade.php
T
2021-11-29 13:17:49 +02:00

19 lines
555 B
PHP

{{-- 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>