This commit is contained in:
31
resources/views/admin/auth/login.blade.php
Normal file
31
resources/views/admin/auth/login.blade.php
Normal file
@@ -0,0 +1,31 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user