mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-20 04:24:23 -08:00
8 lines
612 B
PHP
8 lines
612 B
PHP
|
<!-- Location -->
|
||
|
<div class="form-group {{ $errors->has('location_id') ? ' has-error' : '' }}">
|
||
|
<label for="location_id" class="col-md-3 control-label">{{ trans('general.location') }}</label>
|
||
|
<div class="col-md-7 col-sm-12{{ (\App\Helpers\Helper::checkIfRequired($item, 'location_id')) ? ' required' : '' }}">
|
||
|
{{ Form::select('location_id', $location_list , Input::old('location_id', $item->location_id), array('class'=>'select2', 'style'=>'width:350px')) }}
|
||
|
{!! $errors->first('location_id', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
||
|
</div>
|
||
|
</div>
|