@extends('layouts.layout')

@section('title')Регiстрацiя @endsection

@section('content')

<section id="register" class="register">
    <div class='container'>
        
        <div class="row justify-content-center">
            <div class="col-12 col-sm-10 col-lg-4 text-center">

                <h4>Регiстрацiя</h4>

                <form method="post" action="{{ route('register.store') }}" novalidate>

                    @csrf

                    <div class="form-group">
                        <label for='name'>Ваше имя</label>
                        <input class="form-control" type="text" id="name" name="name" value="{{ old('name') }}">
                    </div>

                    <div class="form-group">
                        <label for='email'>Email address</label>
                        <input class="form-control" type="email" id="email" name="email" value="{{ old('email') }}">
                    </div>

                    <div class="form-group">
                        <label for='password'>Password</label>
                        <input class="form-control" type="password" id="password" name="password">
                    </div>

                    <div class="form-group">
                        <label for='password_confirmation'>Confirm password</label>
                        <input class="form-control" type="password" id="password_confirmation" name="password_confirmation">
                    </div>

                    <div class="form-group">
                        <button type="submit" class="btn btn-primary">Send</button>
                    </div>

                </form>
        
            </div>
        </div>

        
    </div>
</section>


@endsection  
