50 lines
2.4 KiB
PHP
50 lines
2.4 KiB
PHP
@extends('layouts.app')
|
|
|
|
@section('content')
|
|
<div class="min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
|
|
<div class="max-w-md w-full space-y-8">
|
|
<div>
|
|
<h2 class="mt-6 text-center text-3xl font-extrabold text-gray-900">
|
|
{{ __('Confirm Password') }}
|
|
</h2>
|
|
<p class="mt-2 text-center text-sm text-gray-600">
|
|
{{ __('Please confirm your password before continuing.') }}
|
|
</p>
|
|
</div>
|
|
<div class="bg-white py-8 px-4 shadow sm:rounded-lg sm:px-10">
|
|
<form method="POST" action="{{ route('password.confirm') }}" class="space-y-6">
|
|
@csrf
|
|
|
|
<div>
|
|
<label for="password" class="block text-sm font-medium text-gray-700">
|
|
{{ __('Password') }}
|
|
</label>
|
|
<div class="mt-1">
|
|
<input id="password" type="password" name="password" required autocomplete="current-password"
|
|
class="appearance-none block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm placeholder-gray-400 focus:outline-none focus:ring-primary-500 focus:border-primary-500 sm:text-sm @error('password') border-red-300 text-red-900 placeholder-red-300 focus:ring-red-500 focus:border-red-500 @enderror">
|
|
@error('password')
|
|
<p class="mt-2 text-sm text-red-600">{{ $message }}</p>
|
|
@enderror
|
|
</div>
|
|
</div>
|
|
|
|
<div>
|
|
<button type="submit"
|
|
class="w-full flex justify-center py-2 px-4 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-primary-600 hover:bg-primary-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary-500">
|
|
{{ __('Confirm Password') }}
|
|
</button>
|
|
</div>
|
|
|
|
@if (Route::has('password.request'))
|
|
<div class="text-sm text-center">
|
|
<a href="{{ route('password.request') }}" class="font-medium text-primary-600 hover:text-primary-500">
|
|
{{ __('Forgot Your Password?') }}
|
|
</a>
|
|
</div>
|
|
@endif
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|