@extends('layouts.app') @section('content')

Edit User: {{ $user->username }}

User Details
@csrf @method('PUT')
@error('username')
{{ $message }}
@enderror
Leave blank to keep the current password.
@error('password')
{{ $message }}
@enderror
is_admin ? 'checked' : '' }}>
is_admin && $user->isViewOnly()) ? 'checked' : '' }}>
is_admin && !$user->isViewOnly()) ? 'checked' : '' }}>
Custom Permissions
hasPermission('certificates') ? 'checked' : '' }}>
hasPermission('manage_certificates') ? 'checked' : '' }}>
hasPermission('warnings') ? 'checked' : '' }}>
hasPermission('particulars') ? 'checked' : '' }}>
hasPermission('surveys') ? 'checked' : '' }}>
hasPermission('manage_surveys') ? 'checked' : '' }}>
hasPermission('plans') ? 'checked' : '' }}>
hasPermission('manage_plans') ? 'checked' : '' }}>
@section('scripts') @endsection @endsection