mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
9 lines
591 B
PHP
9 lines
591 B
PHP
<!-- Serial -->
|
|
<div class="form-group {{ $errors->has('serial') ? ' has-error' : '' }}">
|
|
<label for="{{ $fieldname }}" class="col-md-3 control-label">{{ trans('admin/hardware/form.serial') }} </label>
|
|
<div class="col-md-7 col-sm-12{{ (\App\Helpers\Helper::checkIfRequired($item, 'serial')) ? ' required' : '' }}">
|
|
<input class="form-control" type="text" name="{{ $fieldname }}" id="serial" value="{{ Input::old('serial', $item->serial) }}" />
|
|
{!! $errors->first('serial', '<span class="alert-msg"><i class="fa fa-times"></i> :message</span>') !!}
|
|
</div>
|
|
</div>
|