mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 14:09:43 -08:00
61f16f47a2
Signed-off-by: snipe <snipe@snipe.net>
9 lines
632 B
PHP
9 lines
632 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{{ (Helper::checkIfRequired($item, 'location_id')) ? ' required' : '' }}">
|
|
{{ Form::select('location_id', $location_list , old('location_id', $item->location_id), array('class'=>'select2', 'style'=>'width:350px')) }}
|
|
{!! $errors->first('location_id', '<span class="alert-msg" aria-hidden="true"><i class="fas fa-times" aria-hidden="true"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|