@extends('layouts.layout')

@section('title')Авторизацiя @endsection

@section('content')

<section>
    <div class='container'>

        <h4>Авторизацiя</h4>
        
        <form method="post" action="{{ route('login') }}">

            @csrf

            <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>

            <button type="submit" class="btn btn-primary">Войти</button>

        </form>
        
        <a class="" href="{{ route('register.create') }}">Регiстрацiя</a>

    </div>
</section>


@endsection  

