@if($errors->all())
{{ HTML::ul($errors->all()) }}
@endif
{{ Form::model($facility, array('route' => array('facility.update', $facility->id),
'method' => 'PUT', 'id' => 'form-edit-facility')) }}
{{ Form::label('name', trans('messages.name')) }}
{{ Form::text('name', Input::old('name'), array('class' => 'form-control')) }}
{{ Form::button(' '. trans('messages.save'),
['class' => 'btn btn-primary', 'onclick' => 'submit()']) }}
{{ Form::close() }}