Show errors on forms. Additional work on confirm email screen.
This commit is contained in:
parent
5e9f7f3359
commit
f4e16aa451
|
|
@ -18,7 +18,7 @@
|
||||||
If you didn't receive the email, we will gladly send you another.
|
If you didn't receive the email, we will gladly send you another.
|
||||||
|
|
||||||
@if(session('status') == 'verification-link-sent')
|
@if(session('status') == 'verification-link-sent')
|
||||||
<div class="text-green-600">
|
<div class="text-green-600 mt-6">
|
||||||
A new verification link has been sent to the email address you provided during registration.
|
A new verification link has been sent to the email address you provided during registration.
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
@props([
|
@props([
|
||||||
'name',
|
'name',
|
||||||
'type',
|
'type',
|
||||||
'label' => 'text'
|
'label' => 'text',
|
||||||
])
|
])
|
||||||
@php
|
@php
|
||||||
$labelClasses = "block text-sm font-medium leading-6 text-gray-900";
|
$labelClasses = "block text-sm font-medium leading-6 text-gray-900";
|
||||||
|
|
@ -10,7 +10,8 @@
|
||||||
'id' => $name,
|
'id' => $name,
|
||||||
'name' => $name,
|
'name' => $name,
|
||||||
'type' => $type,
|
'type' => $type,
|
||||||
'class' => $inputClasses
|
'class' => $inputClasses,
|
||||||
|
'value' => old($name)
|
||||||
];
|
];
|
||||||
@endphp
|
@endphp
|
||||||
<div>
|
<div>
|
||||||
|
|
@ -18,4 +19,7 @@
|
||||||
<div class="mt-2">
|
<div class="mt-2">
|
||||||
<input {{$attributes->merge($inputAttributes)}}>
|
<input {{$attributes->merge($inputAttributes)}}>
|
||||||
</div>
|
</div>
|
||||||
|
@error($name)
|
||||||
|
<p class="text-xs text-red-500 font-semibold mt-1 ml-3">{{ $message }}</p>
|
||||||
|
@enderror
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue