fix title in document show if document not found

This commit is contained in:
team2
2026-02-23 21:13:45 +01:00
parent a2a6e1bca2
commit 2a055b2f72

View File

@@ -5,7 +5,7 @@
{% block body %}
<div class="d-flex justify-content-between align-items-center mb-4">
<h1 class="h3 mb-0">{{ document.title }}</h1>
<h1 class="h3 mb-0">{{ document.title ?? 'Ein Fehler trat auf' }}</h1>
<a href="{{ path('admin_documents') }}"
class="btn btn-sm btn-outline-secondary">