Files
tehnobox/resources/views/shop/auth/register.blade.php
ssww23 0ee9f05416
Some checks failed
Deploy / deploy (push) Has been cancelled
1
2026-03-17 01:59:00 +03:00

46 lines
1.9 KiB
PHP

@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>
{{ __('Капча: решите пример :question', ['question' => $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