@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
@error('alias') {{ $message }} @enderror
@can('admin',$o)
@error('system_id') {{ $message }} @enderror
@endcan
@error('email') {{ $message }} @else Email required for login. @enderror
@error('password') {{ $message }} @else Password required for login. @enderror
@can('ownes',$o)
@error('passkey') {{ $message }} @enderror
@endcan
@can('admin',$o)
Active
active))checked @endif> active))checked @endif>
Site Admin
id === $o->id)data-bs-toggle="tooltip" title="You cannot demote yourself" @endif> admin))checked @endif> id === $o->id) || $user->cannot('admin',$o)) disabled @endif @if(! old('admin',$o->admin))checked @endif>
@endcan
@error('pgp_pubkey') {{ $message }} @enderror
Cancel @canany(['admin','update'],$o) @endcan

Systems

@foreach ($o->systems as $o) @endforeach
System
{{ $o->name }} {!! $o->akas->pluck('ftn')->join('
') !!}
@endsection @section('page-css') @css('select2') @append @section('page-scripts') @js('select2') @if($user->id === $o->id) @endif @append