Fix language tag and improve templates

This commit is contained in:
Andrew71 2024-08-28 14:53:54 +03:00
parent 2b0f9c139a
commit 8ae76cc8e8
12 changed files with 35 additions and 27 deletions

View file

@ -1,7 +1,7 @@
{{define "main"}}
{{ define "main" }}
<form method="POST">
<h2><label for="text">{{ .Title }}:</label></h2>
<textarea id="text" cols="40" rows="15" name="text">{{ .Content }}</textarea>
<button type="submit">{{ translatableText "button.save" }}</button>
</form>
{{end}}
{{ end }}