@extends('layouts.login')

@section('page_title')
    Airtime Sales | Organisation Login
@endsection

@section('page_content')


<div class="row">
        <div class="col-md-12">
            <div class="text-center m-b-md">
                <h3>Dealer Login</h3>
                <!-- <small>This is the best app ever!</small> -->
            </div>
            <div class="hpanel">
                <div class="panel-body">
                        <div class="text-center w-75 m-auto">
                            @if (Session::has('login-error'))
                            <p class=" text-danger mb-4"> {{ Session::get('login-error')}} </p>
                            @endif
                        </div>
                        <form action="{{ url('organisation/login') }}" id="loginForm" method="POST">
                            {{csrf_field()}}
                            <div class="form-group">
                                <label class="control-label" for="username">Email</label>
                                <input type="text" placeholder="example@gmail.com" title="Please enter you email" required="" value="" name="email" id="email" class="form-control">
                                <span class="help-block small">Your unique username</span>
                            </div>
                            <div class="form-group">
                                <label class="control-label" for="password">Password</label>
                                <input type="password" title="Please enter your password" placeholder="*********" required="" value="" name="password" id="password" class="form-control">
                                <span class="help-block small">Your strong password</span>
                            </div>
                            <button class="btn btn-info btn-block">Login</button>
                            <p class="text-center" style="padding: 10px;">-- OR --</p>
                            <a class="btn btn-warning btn-block" href="{{ url('dealer/register') }} "><i class="fa fa-user-plus"></i> Register</a>
                        </form>
                </div>
            </div>
        </div>
    </div>
@endsection