Roman_applicant-site/resources/views/auth/login.blade.php

50 lines
2.1 KiB
PHP
Raw Normal View History

2024-01-10 14:00:03 +03:00
<x-guest-layout>
<!-- Session Status -->
<x-auth-session-status class="mb-4" :status="session('status')" />
2024-01-12 12:33:51 +03:00
<form method="POST" action="{{ route('login') }}" >
2024-01-10 14:00:03 +03:00
@csrf
<!-- Email Address -->
<div>
<x-input-label for="email" :value="'Электронная почта'" />
2024-01-10 14:00:03 +03:00
<x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus autocomplete="username" />
<x-input-error :messages="$errors->get('email')" class="mt-2" />
</div>
<!-- Password -->
<div class="mt-4">
<x-input-label for="password" :value="'Пароль'" />
2024-01-10 14:00:03 +03:00
<x-text-input id="password" class="block mt-1 w-full"
type="password"
name="password"
required autocomplete="current-password" />
<x-input-error :messages="$errors->get('password')" class="mt-2" />
</div>
<!-- Remember Me -->
<div class="block mt-4">
<label for="remember_me" class="inline-flex items-center">
<input id="remember_me" type="checkbox" class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800" name="remember">
<span class="ms-2 text-sm text-gray-600 dark:text-gray-400">Запомнить меня</span>
2024-01-10 14:00:03 +03:00
</label>
</div>
<div class="flex items-center justify-end mt-4">
@if (Route::has('password.request'))
<a class="underline text-sm text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('password.request') }}">
2024-01-12 12:33:51 +03:00
{{ __('Забыли пароль?') }}
2024-01-10 14:00:03 +03:00
</a>
@endif
<x-primary-button class="ms-3">
Войти
2024-01-10 14:00:03 +03:00
</x-primary-button>
</div>
2024-01-11 14:40:06 +03:00
2024-01-22 11:02:21 +03:00
2024-01-10 14:00:03 +03:00
</form>
</x-guest-layout>