@extends('layouts.layout')

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

@section('content')

<section id="register" class="register">
    <div class='container'>

        <h4>Регiстрацiя</h4>
        
        <form method="post" action="{{ route('register.store') }}">

            @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>
        
        <a class="" href="{{ route('login.create') }}">Вхiд</a>
        
    </div>
</section>


@endsection  
