mirror of
https://github.com/10h30/Test-Laravel-Validation.git
synced 2026-06-05 15:07:56 +09:00
12 lines
340 B
PHP
12 lines
340 B
PHP
<form method="POST" action="{{ route('buildings.store') }}">
|
|
@csrf
|
|
Name:
|
|
<br />
|
|
<input type="text" name="name" />
|
|
<br />
|
|
{{-- TASK: Customize the validation error message to say "Please enter the name" --}}
|
|
@error('name') {{ $message }} @enderror
|
|
<br /><br />
|
|
<button type="submit">Save</button>
|
|
</form>
|