@extends('layouts.app')

@section('title')
Add Asset Location
@stop

@section('breadcrumb')
<ol class="breadcrumb pull-right">
        <li><a href="{{route('home')}}"><i class="fa fa-dashboard"></i> Home</a></li>

        <li class="active">Asset Location</li>
      </ol>
@stop

@section('content')
  <div class="container-fluid">
  <div class="row">
                    <div class="col-sm-12">
                        <div class="white-box">
                            <h3 class="box-title m-b-0">Add Asset Location</h3>
                            <p class="text-muted m-b-30 font-13">  </p>
                            <form class="form-horizontal" method="POST" action="{{ route('insert.asset.location') }}">
                            	 {{csrf_field()}}
                                <div class="form-group">
                                
                                <div class="col-md-12">
                                <label>Name</label>
                                <input type="text" class="form-control" placeholder ="Create Asset Location Name here...." value="{{old('name')}}" name="name" style="width: 40%;">
                                @if ($errors->has('name'))
                                <span >
                                <strong class="error_messages" >{{ $errors->first('name') }}</strong>
                                </span>
                                @endif

                                </div>

                                </div>
                               
                                <div class="form-group">
                                   
                                    <div class="col-md-12">
                                           <button type="submit" class="btn btn-success waves-effect waves-light m-r-10">Submit</button>
                                    </div>
                                </div>

                               
                               
                                	
                            </form>
                        </div>
                    </div>
                </div>

      </div>
@stop 