Update web/templates/entry_add.html

This commit is contained in:
Joshua Laymon 2025-08-17 03:38:46 +00:00
parent 0aa8fd9572
commit 0fd6e55353

View File

@ -14,31 +14,31 @@
<div class="form-grid"> <div class="form-grid">
<div class="form-row"> <div class="form-row">
<label class="f-label">Subject</label> <label class="f-label">Subject</label>
{{ form.subject.as_widget(attrs={"placeholder":"Enter comma-separated subjects"}) }} {{ form.subject }}
{% if form.subject.errors %}<div class="err">{{ form.subject.errors|striptags }}</div>{% endif %} {% if form.subject.errors %}<div class="err">{{ form.subject.errors|striptags }}</div>{% endif %}
</div> </div>
<div class="form-row"> <div class="form-row">
<label class="f-label">Illustration</label> <label class="f-label">Illustration</label>
{{ form.illustration.as_widget(attrs={"placeholder":"Write the full illustration here"}) }} {{ form.illustration }}
{% if form.illustration.errors %}<div class="err">{{ form.illustration.errors|striptags }}</div>{% endif %} {% if form.illustration.errors %}<div class="err">{{ form.illustration.errors|striptags }}</div>{% endif %}
</div> </div>
<div class="form-row"> <div class="form-row">
<label class="f-label">Application</label> <label class="f-label">Application</label>
{{ form.application.as_widget(attrs={"placeholder":"Explain the lesson or application"}) }} {{ form.application }}
{% if form.application.errors %}<div class="err">{{ form.application.errors|striptags }}</div>{% endif %} {% if form.application.errors %}<div class="err">{{ form.application.errors|striptags }}</div>{% endif %}
</div> </div>
<div class="form-row two"> <div class="form-row two">
<div> <div>
<label class="f-label">Scripture</label> <label class="f-label">Scripture</label>
{{ form.scripture_raw.as_widget(attrs={"placeholder":"e.g. John 3:16; use standard abbreviations"}) }} {{ form.scripture_raw }}
{% if form.scripture_raw.errors %}<div class="err">{{ form.scripture_raw.errors|striptags }}</div>{% endif %} {% if form.scripture_raw.errors %}<div class="err">{{ form.scripture_raw.errors|striptags }}</div>{% endif %}
</div> </div>
<div> <div>
<label class="f-label">Source</label> <label class="f-label">Source</label>
{{ form.source.as_widget(attrs={"placeholder":"Where did you hear or read this illustration?"}) }} {{ form.source }}
{% if form.source.errors %}<div class="err">{{ form.source.errors|striptags }}</div>{% endif %} {% if form.source.errors %}<div class="err">{{ form.source.errors|striptags }}</div>{% endif %}
</div> </div>
</div> </div>
@ -60,7 +60,7 @@
<div class="form-row three"> <div class="form-row three">
<div> <div>
<label class="f-label">Entry Code</label> <label class="f-label">Entry Code</label>
{{ form.entry_code.as_widget(attrs={"placeholder":"Optional reference code"}) }} {{ form.entry_code }}
{% if form.entry_code.errors %}<div class="err">{{ form.entry_code.errors|striptags }}</div>{% endif %} {% if form.entry_code.errors %}<div class="err">{{ form.entry_code.errors|striptags }}</div>{% endif %}
</div> </div>
<div> <div>