mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-16 02:24:09 -08:00
585f998cae
Signed-off-by: snipe <snipe@snipe.net>
14 lines
792 B
PHP
14 lines
792 B
PHP
<!-- partials/forms/edit/name-last.blade.php -->
|
|
@php
|
|
$class = $class ?? 'col-md-6';
|
|
$style = $style ?? '';
|
|
$required = $required ?? '';
|
|
@endphp
|
|
<div class="form-group {{ $errors->has('last_name') ? 'has-error' : '' }}">
|
|
<label class="col-md-3 control-label" for="last_name">{{ trans('general.last_name') }} </label>
|
|
<div class="{{$class}}" style= "{{$style ? $style : ''}}">
|
|
<input class="form-control" type="text" name="last_name" id="last_name" value="{{ old('last_name', $user->last_name) }}" maxlength="191"{{ (Helper::checkIfRequired($user, 'last_name')) ? ' required' : '' }} />
|
|
{!! $errors->first('last_name', '<span class="alert-msg" aria-hidden="true">:message</span>') !!}
|
|
</div>
|
|
</div>
|
|
<!-- partials/forms/edit/name-last.blade.php --> |