diff --git a/web/templates/entry_edit.html b/web/templates/entry_edit.html index 0499d68..f13974a 100644 --- a/web/templates/entry_edit.html +++ b/web/templates/entry_edit.html @@ -1,14 +1,14 @@ {% extends "base.html" %} {% block body_class %}themed-bg{% endblock %} -{% load static %} {% block content %}
- -
+ + +
← Back to Entry - Editing: #{{ entry.id }} + Editing: #{{ entry.id }}
Cancel @@ -16,86 +16,80 @@
- -
-
+
+ {% csrf_token %} -
-
-
Subject
-
- {{ form.subject }} -
+
+ + {{ form.subject.as_widget(attrs={ + 'class': 'form-control', + 'placeholder': '', + 'rows': '2' + }) }} +
+ +
+ + {{ form.illustration.as_widget(attrs={ + 'class': 'form-control form-textarea-tall', + 'rows': '12' + }) }} +
+ +
+ + {{ form.application.as_widget(attrs={ + 'class': 'form-control form-textarea-tall', + 'rows': '10' + }) }} +
+ +
+ + {{ form.scripture_raw.as_widget(attrs={ + 'class': 'form-control', + 'placeholder': '' + }) }} +
+ +
+
+ + {{ form.source.as_widget(attrs={'class': 'form-control'}) }}
-
-
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.talk_title.as_widget(attrs={'class': 'form-control'}) }}
- -
- Cancel +
+
+ + {{ form.talk_number.as_widget(attrs={'class': 'form-control'}) }} +
+ +
+ + {{ form.entry_code.as_widget(attrs={'class': 'form-control'}) }} +
+ +
+ + {{ form.date_added.as_widget(attrs={'class': 'form-control'}) }} +
+
+ +
+ + + {{ form.date_edited.as_widget(attrs={'class': 'form-control'}) }} +
+ +
+ Cancel