<div class="card">
    <div class="card-header">
      <h6>{{ trans('admin.edit_role_and_permissions') }}</h6>
      <div class="row align-items-end">
          <div class="col-md-6">
              <input type="hidden" name="id" id="id" value="{{ $role->id }}">
              <label class="form-label" for="">{{trans('admin.role_name')}}</label>
              <input id="role_name_ene" name="role_name_ene" type="text" placeholder="{{trans('admin.role_name')}}" class="form-control form-control-sm" value="{{ $role->name }}">
          </div>

           <div class="col-md-6">
              <label class="form-label" for="">{{trans('admin.role_name_arabic')}}</label>
              <input id="role_name_are" name="role_name_are" type="text" placeholder="{{trans('admin.role_name_arabic')}}" class="form-control form-control-sm" value="{{ $role->lbl_ar }}">
          </div>

          <!-- <div class="col-md-4">
              <button class="btn btn-warning btn-sm"name="customer_create" id="customer_create" type="submit"> <i class="bi-check-circle"></i> Add </button>
          </div> -->
      </div>
    </div>
    {{-- <div class="card-block p-3">
        <!-- role and permissions list -->
        <div class="table-responsive">
          <table class="table table-striped table-hover">
            <thead class="bg">
              <tr>
                <th>{{trans('admin.Permissions')}}</th>
                <th>{{trans('admin.View')}}</th>
                <th>{{trans('admin.Add')}}</th>
                <th>{{trans('admin.Edit')}}</th>
                <th>{{trans('admin.Delete')}}</th>
              </tr>
            </thead>
            <tbody>
              <tr>
                @foreach($permissions as $perm)
                <td>
                    <input type="hidden" name="per_id" id="per_id" value="{{ $perm->id }}">
                    <input class="form-check-input" id="alle" name="alle" type="checkbox" value="1" onclick="enbchk(this.value);" @if($perm->r_view == 1 && $perm->r_add == 1 && $perm->r_edit == 1 && $perm->r_delete == 1) checked @endif/><label for="all">{{trans('admin.All')}}</label>
                </td>

                <td>
                    <input class="form-check-input" id="viewe" name="viewe" type="checkbox" @if($perm->r_view == 1) checked @endif>
                </td>

                <td>
                    <input class="form-check-input" id="adde" name="adde" type="checkbox" @if($perm->r_add == 1) checked @endif>
                </td>

                <td>
                    <input class="form-check-input"  id="edite" name="edite" type="checkbox" @if($perm->r_edit == 1) checked @endif>
                </td>

                <td>
                    <input class="form-check-input" id="deletee" name="deletee" type="checkbox" @if($perm->r_delete == 1) checked @endif>
                </td>
                @endforeach
            </tr>
            </tbody>
          </table>
        </div>
    </div> --}}
</div>
