@extends('layouts.admin_master')
@section('page-title')
    Admin | {{ $page_title }}
@endsection

@section('page-css')
@endsection
@section('page-content')
<div class="row">
    <form action="{{ url('admin/organisation/store') }}" method="POST" >
        {{csrf_field()}}
        <div class="col-md-12">
            @include('commons.notifications')
        </div>
        <div class="col-md-6">
            <div class="hpanel">
                <div class="panel-heading">Main Organisation</div>
                <div class="panel-body">
                <div class="form-group">
                    <label class="col-sm-2 control-label">Fullname</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="name" placeholder="Full Name of Organisation (Dealer) " required>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group"><label class="col-sm-2 control-label">Email</label>
                    <div class="col-sm-10">
                        <input type="email"  name="email" class="form-control" id="email" placeholder="Organisation's Email" required>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group"><label class="col-sm-2 control-label">Phone</label>
                    <div class="col-sm-10">
                    <input type="text"  name="phone" class="form-control" id="phone" placeholder="Organisation's Phone " required >
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                </div>
            </div>
        </div>
        <div class="col-md-6">
            <div class="hpanel">
                <div class="panel-heading">Organisation User Account</div>
                <div class="panel-body">
                <div class="form-group">
                    <label class="col-sm-2 control-label">Username</label>
                    <div class="col-sm-10">
                        <input type="text" class="form-control" name="user_name" placeholder="Full Name" required>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group"><label class="col-sm-2 control-label">Email</label>
                    <div class="col-sm-10">
                        <input type="email"  name="user_email" class="form-control" id="userEmail" placeholder="Enter User Email" required>
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                <div class="form-group"><label class="col-sm-2 control-label">Phone</label>
                    <div class="col-sm-10">
                    <input type="text"  name="user_phone" class="form-control" id="userPhone" placeholder="Enter User Phone number " required >
                    </div>
                </div>
                <div class="hr-line-dashed"></div>
                </div>
            </div>
        </div>
        
        <div class="com-md-12">
            <div class="form-group">
                <div class="col-sm-12 ">
                    <button class="btn btn-primary btn-block" type="submit">Submit</button>
                    <button class="btn btn-default btn-block" type="button">Cancel</button> <br>
                    
                </div>
            </div>
        </div>
    </form>
</div>
@endsection