@extends('layouts.app')

@section('title')
Update 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">Update 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">Update Asset Location</h3>
                            <p class="text-muted m-b-30 font-13">  </p>
                            <form class="form-horizontal" method="POST" action="{{ route('update.asset.location') }}">
                                <input type="hidden" value="{{$asset_location->id}}" name="id">
                            	 {{csrf_field()}}
                                <div class="form-group">
                                
                                <div class="col-md-12">
                                <label>Name</label>
                                <input type="text" class="form-control" placeholder ="Update Asset Location Name here...." value="{{$asset_location->name}}" name="name">
                                @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 