mirror of
https://github.com/10h30/Test-Laravel-Validation.git
synced 2026-07-11 19:05:53 +09:00
Task 8 - customize validation messages
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user