@if(session()->has('admin_userid'))
   
@else 
 <script>window.location.href="admin";</script>
@endif

@extends('backend.header')
@section('content')


<div class="container-fluid">
    <div class="row bg-title">
        <div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
            <h4 class="page-title"><i class="fa fa-plus"></i>&nbsp; Add Manage Parking location </h4> </div>
    </div>

    <div class="col-sm-12">
        <div class="white-box">
            <form action="add_location_submit" method="post">
                @CSRF
                <div class="row">
                    <div class="col-sm-6">
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="location_name">Location Name</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="location_name" id="location_name">
                            </div>
                        </div>
                        <div class="form-group" style="padding-top:8%;">
                            <div class="col-md-3" style="margin-top:2%;">
                                <label for="short_name">Short Name</label>
                            </div>
                            <div class="col-md-9">
                                <input type="text" class="form-control" name="short_name" id="short_name">
                            </div>
                        </div>
                        <button type="submit" class="btn btn-primary" style="float: right; margin-right: 1%;
                        margin-top: 5%;">Submit</button>
                    </div>
                </div>
            </form>
        </div>
    </div>

</div>
@endsection