@extends('layouts.admin') @section('title', $user->exists ? 'Edit User' : 'Add User') @section('content')
@csrf @if($user->exists) @method('PUT') @endif
Account Details
exists ? '' : 'required' }}>
exists ? $user->is_active : true) ? 'checked' : '' }}>
Project Assignment (for KMS reporting)

Only relevant for Project User / Project Coordinator roles. Assign which project(s) this person enters or endorses data for.

@foreach($projects as $project) @php($current = $user->projects->firstWhere('id', $project->id))
{{ $project->title }}
@endforeach
Cancel
@endsection