snipe-it/resources/views/partials/forms/edit/username.blade.php
snipe cae8aa7840 Added maxlengths to additional fields
Signed-off-by: snipe <snipe@snipe.net>
2024-10-01 14:02:54 +01:00

14 lines
500 B
PHP

<!-- partials/forms/edit/username.blade.php -->
@php
$required = $required ?? '';
@endphp
<div class="form-group">
<div class="col-md-3 col-xs-12">
<label for="modal-username">{{ trans('admin/users/table.username') }}:
</label>
</div>
<div class="col-md-8 col-xs-12">
<input type='text' name="username" id='modal-username' class="form-control" maxlength="191" {{ $required ? ' required' : ''}}>
</div>
</div>
<!-- partials/forms/edit/username.blade.php -->