27 lines
779 B
PHP
27 lines
779 B
PHP
<div class="mb-3 row">
|
|
<label for="username_input" class="col-2 col-form-label fw-bold">@lang('username') : </label>
|
|
<datalist id="users">
|
|
@foreach($users as $user)
|
|
<option>{{$user->username}}</option>
|
|
@endforeach
|
|
</datalist>
|
|
<div class="col-10">
|
|
<input
|
|
type="text"
|
|
class="form-control"
|
|
name="username"
|
|
id="username_input"
|
|
list="users"
|
|
placeholder="@lang('username')"
|
|
@if(old('username') !== null)
|
|
value="{{old('username')}}"
|
|
@else
|
|
@if(isset($data->username))
|
|
value="{{$data->username}}"
|
|
@endif
|
|
@endif
|
|
required
|
|
>
|
|
</div>
|
|
</div>
|