Files
besttechfrom.eu/resources/views/auth/passwords/email.blade.php
T

67 lines
3.5 KiB
PHP
Raw Normal View History

2026-02-06 11:26:13 +02:00
@extends('layouts.app')
@section('content')
2026-02-14 16:11:09 +02:00
<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 dark:text-white">
2026-02-14 16:11:09 +02:00
{{ __('Reset Password') }}
</h2>
<p class="mt-2 text-center text-sm text-gray-600 dark:text-gray-400">
2026-02-14 16:11:09 +02:00
{{ __('Enter your email address and we will send you a password reset link.') }}
</p>
</div>
<div class="bg-white dark:bg-gray-800 py-8 px-4 shadow sm:rounded-lg sm:px-10">
2026-02-14 16:11:09 +02:00
@if (session('status'))
<div class="mb-4 rounded-md bg-green-50 dark:bg-green-900/20 p-4">
2026-02-14 16:11:09 +02:00
<div class="flex">
<div class="flex-shrink-0">
<svg class="h-5 w-5 text-green-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd" />
</svg>
2026-02-06 11:26:13 +02:00
</div>
2026-02-14 16:11:09 +02:00
<div class="ml-3">
<p class="text-sm font-medium text-green-800 dark:text-green-200">
2026-02-14 16:11:09 +02:00
{{ session('status') }}
</p>
2026-02-06 11:26:13 +02:00
</div>
2026-02-14 16:11:09 +02:00
</div>
2026-02-06 11:26:13 +02:00
</div>
2026-02-14 16:11:09 +02:00
@endif
<form method="POST" action="{{ route('password.email') }}" class="space-y-6">
@csrf
<div>
<label for="email" class="block text-sm font-medium text-gray-700 dark:text-gray-300">
2026-02-14 16:11:09 +02:00
{{ __('Email Address') }}
</label>
<div class="mt-1">
<input id="email" type="email" name="email" value="{{ old('email') }}" required autocomplete="email" autofocus
class="appearance-none block w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm placeholder-gray-400 dark:placeholder-gray-500 focus:outline-none focus:ring-primary-500 focus:border-primary-500 sm:text-sm @error('email') border-red-300 text-red-900 dark:text-red-200 placeholder-red-300 focus:ring-red-500 focus:border-red-500 @enderror dark:bg-gray-700">
2026-02-14 16:11:09 +02:00
@error('email')
<p class="mt-2 text-sm text-red-600 dark:text-red-400">{{ $message }}</p>
2026-02-14 16:11:09 +02:00
@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">
{{ __('Send Password Reset Link') }}
</button>
</div>
@if (Route::has('login'))
<div class="text-sm text-center">
<a href="{{ route('login') }}" class="font-medium text-primary-600 dark:text-primary-400 hover:text-primary-500">
2026-02-14 16:11:09 +02:00
{{ __('Back to Login') }}
</a>
</div>
@endif
</form>
2026-02-06 11:26:13 +02:00
</div>
</div>
</div>
@endsection