@title('Login')

@extends('layouts.small')

@section('small-content')
    {!! Form::open(['route' => 'login.post']) !!}
        @formGroup('username')
            {!! Form::label('username') !!}
            {!! Form::text('username', null, ['class' => 'form-control', 'required']) !!}
            @error('username')
        @endFormGroup

        @formGroup('password')
            {!! Form::label('password') !!}
            {!! Form::password('password', ['class' => 'form-control', 'required']) !!}
            @error('password')
        @endFormGroup

        <div class="form-group">
            <label>
                {!! Form::checkbox('remember') !!}
                Remember login
            </label>
        </div>

        {!! Form::submit('Login', ['class' => 'btn btn-primary btn-block']) !!}
        <a href="{{ route('login.github') }}" class="btn btn-default btn-block">
            <i class="fa fa-github"></i> Github
        </a>
    {!! Form::close() !!}
@endsection

@section('small-content-after')
    <div class="text-center">
        <a href="{{ route('password.forgot') }}" class="btn btn-default btn-sm btn-block">Forgot your password?</a>
        <a href="{{ route('register') }}" class="btn btn-default btn-sm btn-block">Need an account?</a>
    </div>
@endsection

@title('Login')

@extends('layouts.small')

@section('small-content')
    {!! Form::open(['route' => 'login.post']) !!}
        @formGroup('username')
            {!! Form::label('username') !!}
            {!! Form::text('username', null, ['class' => 'form-control', 'required']) !!}
            @error('username')
        @endFormGroup

        @formGroup('password')
            {!! Form::label('password') !!}
            {!! Form::password('password', ['class' => 'form-control', 'required']) !!}
            @error('password')
        @endFormGroup

        <div class="form-group">
            <label>
                {!! Form::checkbox('remember') !!}
                Remember login
            </label>
        </div>

        {!! Form::submit('Login', ['class' => 'btn btn-primary btn-block']) !!}
        <a href="{{ route('login.github') }}" class="btn btn-default btn-block">
            <i class="fa fa-github"></i> Github
        </a>
    {!! Form::close() !!}
@endsection

@section('small-content-after')
    <a href="{{ route('password.forgot') }}" class="btn btn-link btn-sm btn-block">Forgot your password?</a>
@endsection

Simplify the buttons beneath the login form
Simplify the buttons beneath the login form
