This commit is contained in:
45
resources/views/shop/auth/register.blade.php
Normal file
45
resources/views/shop/auth/register.blade.php
Normal file
@@ -0,0 +1,45 @@
|
||||
@extends('layouts.shop')
|
||||
|
||||
@section('content')
|
||||
@include('partials.breadcrumbs', [
|
||||
'items' => [
|
||||
['label' => 'Главная', 'url' => route('home')],
|
||||
['label' => 'Регистрация', 'url' => null],
|
||||
],
|
||||
])
|
||||
|
||||
<section class="pc-section pc-auth-section">
|
||||
<div class="pc-section-title">
|
||||
<h2>Регистрация</h2>
|
||||
<p>Создайте аккаунт, чтобы отслеживать заказы и сохранять избранное.</p>
|
||||
</div>
|
||||
|
||||
<form class="pc-card pc-form pc-auth-form" method="post" action="{{ route('register.store') }}">
|
||||
@csrf
|
||||
<label>
|
||||
Имя
|
||||
<input type="text" name="name" value="{{ old('name') }}" required>
|
||||
</label>
|
||||
<label>
|
||||
Email
|
||||
<input type="email" name="email" value="{{ old('email') }}" required>
|
||||
</label>
|
||||
<label>
|
||||
Пароль
|
||||
<input type="password" name="password" required>
|
||||
</label>
|
||||
<label>
|
||||
Подтверждение пароля
|
||||
<input type="password" name="password_confirmation" required>
|
||||
</label>
|
||||
<label>
|
||||
Капча: решите пример {{ $captchaQuestion }}
|
||||
<input type="text" name="captcha" inputmode="numeric" autocomplete="off" required>
|
||||
</label>
|
||||
<div class="pc-product-actions">
|
||||
<button class="pc-btn primary" type="submit">Зарегистрироваться</button>
|
||||
<a class="pc-btn ghost" href="{{ route('login') }}">Уже есть аккаунт</a>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user