32 lines
1.2 KiB
PHP
32 lines
1.2 KiB
PHP
@extends('layouts.shop')
|
|
|
|
@section('content')
|
|
<section class="pc-section">
|
|
<div class="pc-section-title">
|
|
<h2>Вход в админку</h2>
|
|
<p>Доступ только для администраторов.</p>
|
|
</div>
|
|
|
|
<form class="pc-card pc-form pc-auth-form" method="post" action="{{ route('admin.login.attempt') }}">
|
|
@csrf
|
|
<label>
|
|
Email
|
|
<input type="email" name="email" value="{{ old('email') }}" required>
|
|
</label>
|
|
<label>
|
|
Пароль
|
|
<input type="password" name="password" required>
|
|
</label>
|
|
<label>
|
|
Капча: решите пример {{ $captchaQuestion }}
|
|
<input type="text" name="captcha" inputmode="numeric" autocomplete="off" required>
|
|
</label>
|
|
<label class="pc-checkbox">
|
|
<input type="checkbox" name="remember" value="1" @checked(old('remember'))>
|
|
<span>Запомнить меня</span>
|
|
</label>
|
|
<button class="pc-btn primary" type="submit">Войти</button>
|
|
</form>
|
|
</section>
|
|
@endsection
|