@extends('layouts.app') @section('htmlheader_title') @if($o->exists) Update @else Add @endif User @endsection @section('content')
@csrf

@if($o->exists) Update @else Add @endif User

@error('name') {{ $message }} @else A name is required. @enderror
active))checked @endif> active))checked @endif>
@error('email') {{ $message }} @else Email required for login. @enderror
id == Auth::user()->id)data-bs-toggle="tooltip" title="You cannot demote yourself" @endif> admin))checked @endif> id == Auth::user()->id || Auth::user()->cannot('admin',$o)) disabled @endif @if(! old('admin',$o->admin))checked @endif>
@error('pgp_pubkey') {{ $message }} @enderror
Cancel @can('admin',$o) @endcan
@endsection @section('page-scripts') @if($o->id == Auth::user()->id) @endif @append