diff --git a/web/templates/entry_edit.html b/web/templates/entry_edit.html index 0499d68..de0e997 100644 --- a/web/templates/entry_edit.html +++ b/web/templates/entry_edit.html @@ -1,104 +1,137 @@ {% extends "base.html" %} -{% block body_class %}themed-bg{% endblock %} {% load static %} +{% block title %}Edit Entry #{{ entry.id }} - Illustrations DB{% endblock %} +{% block body_class %}themed-bg{% endblock %} {% block content %} -
- -
-
- ← Back to Entry - Editing: #{{ entry.id }} -
-
- Cancel - -
-
+
+

Edit Illustration

+

+ Update the details below. Subjects should be comma‑separated; keep scriptures in standard abbreviations. +

- -
-
- {% csrf_token %} + + {% csrf_token %} -
-
-
Subject
-
- {{ form.subject }} -
+
+
+ + {{ form.subject }} + {% if form.subject.errors %}
{{ form.subject.errors|striptags }}
{% endif %} +
+ +
+ + {{ form.illustration }} + {% if form.illustration.errors %}
{{ form.illustration.errors|striptags }}
{% endif %} +
+ +
+ + {{ form.application }} + {% if form.application.errors %}
{{ form.application.errors|striptags }}
{% endif %} +
+ +
+
+ + {{ form.scripture_raw }} + {% if form.scripture_raw.errors %}
{{ form.scripture_raw.errors|striptags }}
{% endif %}
- -
-
Illustration
-
- {{ form.illustration }} -
-
- -
-
Application
-
- {{ form.application }} -
-
- -
-
Scripture
-
- {{ form.scripture_raw }} -
-
- -
-
Source
-
- {{ form.source }} -
-
- -
-
Talk Title
-
- {{ form.talk_title }} -
-
- -
-
Talk Number
-
- {{ form.talk_number }} -
-
- -
-
Entry Code
-
- {{ form.entry_code }} -
-
- -
-
Date Added
-
- {{ form.date_added }} -
-
- -
-
Date Edited
-
- {{ form.date_edited }} -
+
+ + {{ form.source }} + {% if form.source.errors %}
{{ form.source.errors|striptags }}
{% endif %}
- -
+
+
+ + {{ form.talk_title }} + {% if form.talk_title.errors %}
{{ form.talk_title.errors|striptags }}
{% endif %} +
+
+ + {{ form.talk_number }} + {% if form.talk_number.errors %}
{{ form.talk_number.errors|striptags }}
{% endif %} +
+
+ +
+
+ + {{ form.entry_code }} + {% if form.entry_code.errors %}
{{ form.entry_code.errors|striptags }}
{% endif %} +
+
+ +
+ {{ form.date_added }} {{ form.date_edited }} +
+ {% if form.date_added.errors %}
{{ form.date_added.errors|striptags }}
{% endif %} + {% if form.date_edited.errors %}
{{ form.date_edited.errors|striptags }}
{% endif %} +
+
+
+ +
+ +
Cancel - +
- -
+
+
+ + + {% endblock %} \ No newline at end of file