Skip to content

Commit 79350dc

Browse files
update password reset form
1 parent 09620fc commit 79350dc

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/tailwind-stubs/views/auth/passwords/reset.blade.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<div class="flex items-center">
66
<div class="md:w-1/2 md:mx-auto">
77
<div class="rounded shadow">
8-
<div class="font-bold text-lg bg-grey-light p-3 rounded rounded-t">
8+
<div class="font-medium text-lg text-orange-darker bg-orange-lighter p-3 rounded rounded-t">
99
Reset Password
1010
</div>
1111
<div class="bg-white p-3 rounded rounded-b">
@@ -15,32 +15,32 @@
1515
<input type="hidden" name="token" value="{{ $token }}">
1616

1717
<div class="flex items-stretch mb-3">
18-
<label for="email" class="font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">E-Mail Address</label>
18+
<label for="email" class="text-right font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">E-Mail Address</label>
1919
<div class="flex flex-col w-3/4">
20-
<input id="email" type="email" class="flex-grow h-8 px-2 border rounded {{ $errors->has('email') ? 'border-red-dark' : 'border-grey-light' }}" name="email" value="{{ old('email') }}" required autofocus>
20+
<input id="email" type="email" class="flex-grow h-8 px-2 border rounded {{ $errors->has('email') ? 'border-red-dark' : 'border-grey-light' }}" name="email" value="{{ $email or old('email') }}" required autofocus>
2121
{!! $errors->first('email', '<span class="text-red-dark text-sm mt-2">:message</span>') !!}
2222
</div>
2323
</div>
2424

2525
<div class="flex items-stretch mb-3">
26-
<label for="password" class="font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">Password</label>
26+
<label for="password" class="text-right font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">Password</label>
2727
<div class="flex flex-col w-3/4">
2828
<input id="password" type="password" class="flex-grow h-8 px-2 rounded border {{ $errors->has('password') ? 'border-red-dark' : 'border-grey-light' }}" name="password" required>
2929
{!! $errors->first('password', '<span class="text-red-dark text-sm mt-2">:message</span>') !!}
3030
</div>
3131
</div>
3232

3333
<div class="flex items-stretch mb-3">
34-
<label for="password_confirmation" class="font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">Confirm Password</label>
34+
<label for="password_confirmation" class="text-right font-semibold text-grey-dark text-sm pt-2 pr-3 align-middle w-1/4">Confirm Password</label>
3535
<div class="flex flex-col w-3/4">
36-
<input id="password_confirmation" type="password_confirmation" class="flex-grow h-8 px-2 rounded border {{ $errors->has('password_confirmation') ? 'border-red-dark' : 'border-grey-light' }}" name="password" required>
36+
<input id="password_confirmation" type="password" class="flex-grow h-8 px-2 rounded border {{ $errors->has('password_confirmation') ? 'border-red-dark' : 'border-grey-light' }}" name="password_confirmation" required>
3737
{!! $errors->first('password_confirmation', '<span class="text-red-dark text-sm mt-2">:message</span>') !!}
3838
</div>
3939
</div>
4040

4141
<div class="flex">
4242
<div class="w-3/4 ml-auto">
43-
<button type="submit" class="bg-blue hover:bg-blue-dark text-white text-sm font-sembiold py-2 px-4 rounded mr-3">
43+
<button type="submit" class="bg-orange hover:bg-orange-dark text-white text-sm font-sembiold py-2 px-4 rounded mr-3">
4444
Reset Password
4545
</button>
4646
</div>

0 commit comments

Comments
 (0)