updaetd to roles and permissions

This commit is contained in:
Mark Gregory
2026-08-26 10:38:38 +01:00
parent af6ebe5730
commit 7fcef01be4
10 changed files with 456 additions and 21 deletions
@@ -23,6 +23,20 @@
],
])
@if (session('status'))
<div class="doc-alert">{{ session('status') }}</div>
@endif
<div class="doc-actions" style="margin-bottom:18px;justify-content:flex-end;">
<form method="POST"
action="{{ route('documentation.documents.destroy', $document) }}"
onsubmit="return confirm('Archive this document? Its files and attachments will be retained.')">
@csrf
@method('DELETE')
<button class="doc-button warning" type="submit">Archive document</button>
</form>
</div>
<section class="doc-card">
<div class="doc-card-header">
<div>