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

@section('content')
    <section class="favorites">
        <div class="favorites-top">
            <div class="container">

                <div class="footer-top">
                    <div class="container">
                        <div class="footer-feedback">
                            <div class="footer-feedback__cnt">
                                <h2 class="footer-feedback__title title">Регистрация</h2>
                                <p class="footer-feedback__descr">Зарегистрируйте своего пользователя в системе</p>
                            </div>
                            <form class="footer-feedback__form" method="post" action="{{ route('auth.register') }}">
                                @csrf
                                <div class="footer-feedback__row">
                                    <div class="footer-feedback__col">
                                        <label class="footer-feedback__field field">
                                            <input type="text" class="form-control" name="name" placeholder="Имя, Фамилия"
                                                   required maxlength="255" value="{{ old('name') ?? '' }}">
                                        </label>
                                        <label class="footer-feedback__field field">
                                            <input type="email" class="form-control" name="email" placeholder="Адрес почты"
                                                   required maxlength="255" value="{{ old('email') ?? '' }}">
                                        </label>

                                        <label class="footer-feedback__field field">
                                            <input type="text" class="form-control" name="password" placeholder="Придумайте пароль"
                                                   required maxlength="255" value="">
                                        </label>
                                        <label class="footer-feedback__field field">
                                            <input type="text" class="form-control" name="password_confirmation"
                                                   placeholder="Пароль еще раз" required maxlength="255" value="">
                                        </label>

                                    </div>
                                    <div class="footer-feedback__col">
                                    </div>
                                </div>
                                <div class="footer-feedback__control">
                                    <!--<button class="footer-feedback__btn btn btn--main js_form_btn">Отправить</button>-->
                                    <button type="submit" class="btn footer-feedback__btn">Регистрация</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
@endsection