snipe-it/resources/views/partials/forms/edit/username.blade.php
snipe 585f998cae Fixes for requiredness display
Signed-off-by: snipe <snipe@snipe.net>
2024-09-28 15:28:06 +01:00

9 lines
448 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" {{ $required ? ' required' : ''}}></div>
</div>
<!-- partials/forms/edit/username.blade.php -->