-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from joshbenham/enhancements/confirm-password
Added a theme file for the confirm password route that got added in
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
src/tailwindcss-stubs/resources/views/auth/passwords/confirm.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@extends('layouts.app') | ||
|
||
@section('content') | ||
<div class="container mx-auto"> | ||
<div class="flex flex-wrap justify-center"> | ||
<div class="w-full max-w-sm"> | ||
<div class="flex flex-col break-words bg-white border border-2 rounded shadow-md"> | ||
|
||
<div class="font-semibold bg-gray-200 text-gray-700 py-3 px-6 mb-0"> | ||
{{ __('Confirm Password') }} | ||
</div> | ||
|
||
<form class="w-full p-6" method="POST" action="{{ route('password.confirm') }}"> | ||
@csrf | ||
|
||
<p class="leading-normal"> | ||
{{ __('Please confirm your password before continuing.') }} | ||
</p> | ||
|
||
<div class="flex flex-wrap my-6"> | ||
<label for="password" class="block text-gray-700 text-sm font-bold mb-2"> | ||
{{ __('Password') }}: | ||
</label> | ||
|
||
<input id="password" type="password" class="shadow appearance-none border rounded w-full py-2 px-3 text-gray-700 leading-tight focus:outline-none focus:shadow-outline @error('password') border-red-500 @enderror" name="password" required autocomplete="new-password"> | ||
|
||
@error('password') | ||
<p class="text-red-500 text-xs italic mt-4"> | ||
{{ $message }} | ||
</p> | ||
@enderror | ||
</div> | ||
|
||
<div class="flex flex-wrap items-center"> | ||
<button type="submit" class="bg-blue-500 hover:bg-blue-700 text-gray-100 font-bold py-2 px-4 rounded focus:outline-none focus:shadow-outline"> | ||
{{ __('Confirm Password') }} | ||
</button> | ||
|
||
@if (Route::has('password.request')) | ||
<a class="text-sm text-blue-500 hover:text-blue-700 whitespace-no-wrap no-underline ml-auto" href="{{ route('password.request') }}"> | ||
{{ __('Forgot Your Password?') }} | ||
</a> | ||
@endif | ||
</div> | ||
</form> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endsection |