BUGFIX: annoyances when editing a almanach

This commit is contained in:
Simon Martens
2026-01-09 22:04:00 +01:00
parent 65f83aa6a6
commit 22b303dc72
13 changed files with 657 additions and 403 deletions

View File

@@ -7,7 +7,7 @@
<div class="flex flex-col justify-end-safe flex-2/5">
<h1 class="text-2xl w-full font-bold text-slate-900 mb-4">
{{- if $model.is_new -}}
Neuer Ort
Ort
{{- else -}}
{{- $place.Name -}}
{{- end -}}
@@ -95,6 +95,7 @@
<div class="container-normal mx-auto mt-4 !px-0">
{{ template "_usermessage" $model }}
<form
autocomplete="off"
class="w-full dbform"
id="changeplaceform"
method="POST"
@@ -126,7 +127,8 @@
<div class="inputwrapper">
<div class="px-3 py-2 flex flex-row gap-2 font-bold">
<input type="checkbox" name="fictional" id="fictional" {{ if $place.Fictional }}checked{{ end }} />
<label class="flex items-center gap-2 text-gray-700" for="fictional">Fiktiv</label>
<label class="flex items-center gap-2 text-gray-700"
for="fictional">Fiktional</label>
</div>
</div>
</div>