
<div class="row g-2 p-3">
    <input type="hidden" name="id" id="id" value="{{$user->id}}">
    <div class="col-sm-12">
        <div class="form-group">
            <label class="form-label">{{trans('admin.Name')}}</label>
            <input id="u_name" name="u_name" type="text" placeholder="" class="form-control form-control-sm" value="{{$user->name}}">
        </div>
    </div>

    <div class="col-sm-6">
        <div class="form-group">
            <label class="form-label" for="u_email">{{trans('admin.Email')}}</label>
            <input id="u_email" name="u_email" type="Email" placeholder="" class="form-control form-control-sm" value="{{$user->email}}">
        </div>
    </div>

    <div class="col-sm-6">
        <div class="form-group">
            <label class="form-label" for="u_password">{{trans('admin.Password')}}</label>
            <input id="u_password" name="u_password" type="Password" placeholder="Password(Leave blank if you don't want change)" class="form-control form-control-sm">
        </div>
    </div>

    <div class="col-sm-12">
        <div class="form-group">
            <label class="form-label" for="store">{{trans('admin.select_role')}}</label>
            <select id="u_role" name="u_role"  class="form-control form-control-sm">
                <option value="">{{trans('admin.Choose')}}</option>
                @foreach(roleList() as $role)
                  <option value="{{$role->id}}" @if($role->id == $user->role) selected @endif>{{$role->lbl_en}}</option>
                @endforeach
            </select>
        </div>
    </div>
</div>





