@extends('layouts.master')

@section('content')
<div class="col-sm-8">
    <h1>Register</h1>
    <form method="post" action="/register">
        {{ csrf_field() }}

        @include('layouts.errors')

        <div class="form-group">
            <label for="name">Name:</label>
            <input type="text" class="form-control"
                   id="name" name="name" required />
        </div>

        <div class="form-group">
            <label for="email">E-mail:</label>
            <input type="text" class="form-control"
                   id="email" name="email" required />
        </div>

        <div class="form-group">
            <label for="password">Password:</label>
            <input type="password" class="form-control"
                   id="password" name="password" required />
            <label for="password_confirmation">Password confirmation:</label>
            <input type="password" class="form-control"
                   id="password_confirmation" name="password_confirmation" required />
        </div>

        <div class="form-group">
            <button type="submit" class="btn btn-primary">Register</button>
        </div>
    </form>
</div>
@endsection