register.blade.php 2.71 KB
@extends('layout.site', ['title' => 'Регистрация'])

@section('content')
    <section class="product-cart">
        <div class="container">
            <h2 class="modal-reg__title">Регистрация</h2>
            <form class="modal-reg-form" method="post" action="{{ route('auth.register') }}">
                @csrf
                <label class="form__label label-reg" for="name-reg">Ваше имя
                    <span class="required">*</span>
                </label><br>
                <input class="form-input form__name" type="text" id="name-reg" name="name" placeholder="Введите ваше имя" required value="{{ old('name') ?? '' }}">

                <label class="form__label label-reg-pass reg-mail error" for="email-reg">E-mail
                    <span class="required">*</span>
                    <span class="reg-mail-error reg-mail-error--hidden">Ошибка</span>
                </label><br>
                <input class="form-input form__email reg-mail-input js_reg_mail_input" type="email" id="email-reg" name="email"
                       placeholder="Введите ваш e-mail" value="{{ old('email') ?? '' }}" required>

                <label class="form__label label-reg-pass error" for="password-reg">Пароль
                    <span class="required">*</span>
                </label><br>
                <input class="form-input auth-pass-err js_reg_pass" type="password" id="password-reg" name="password"
                placeholder="Введите ваш пароль" required>
                <button class="modal-auth-show-pass reg-show-pass js_reg_show_pass"></button><br>

                <label class="form__label label-reg auth-label-pass" for="confirm-password-reg">Повторите пароль
                    <span class="required">*</span>
                    <span class="reg-pass-error reg-pass-error--hidden">Ошибка</span>
                </label><br>
                <input class="form-input reg-pass-conf-input js_pass_conf" type="password" id="confirm-password-reg" name="password_confirmation"
                placeholder="Введите пароль еще раз" required>
                <button class="modal-auth-show-pass reg-show-pass-second js_reg_show_pass_conf"></button>

                <div class="parts-content-form-bottom modal-auth-bottom">
                    <p class="parts-content-form-bottom__par modal-auth-bottom__note">Даю согласие на обработку персональных данных.
                    </p>
                    <button class="parts-content-form-bottom__button" type="submit">Отправить заявку</button>
                </div>
            </form>
        </div>
    </section>
@endsection