@extends('master') @section('head') @endsection @section('body')
{!! Former::open('login')->rules(['email' => 'required|email', 'password' => 'required'])->addClass('form-signin') !!} {{ Former::populateField('remember', 'true') }}

{!! Former::text('email')->placeholder(trans('texts.email_address'))->raw() !!} {!! Former::password('password')->placeholder(trans('texts.password'))->raw() !!} {!! Former::hidden('remember')->raw() !!}

{!! Button::success(trans(Utils::allowNewAccounts() ? 'texts.login' : 'texts.lets_go'))->large()->submit()->block() !!}

@if (Utils::allowNewAccounts())

- {{ trans('texts.or') }} -

{!! Button::primary(trans('texts.new_account'))->asLinkTo(URL::to('/invoice_now?logout=true'))->large()->submit()->block() !!}

@endif @if (count($errors->all()))
@foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
    @endif @if (Session::has('warning'))
    {{ Session::get('warning') }}
    @endif @if (Session::has('message'))
    {{ Session::get('message') }}
    @endif @if (Session::has('error'))
    {{ Session::get('error') }}
    @endif
    {!! Former::close() !!}

     

     

    @endsection