~alcinnz/bureaucromancy

ref: d6349351d838372d9199a690c5997382d13269c7 bureaucromancy/tpl/submit.html -rw-r--r-- 448 bytes
d6349351 — Adrian Cochrane Validate form before submitting, ensure submit & reset buttons are present! 1 year, 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{% extends "base.html" %}

{%- block main -%}<section>
  <div>{{ input.description }}</div>
  <hr />
  {% if isFormValid %}
  <!-- TODO: Internationalize! -->
  <p><a href="_{{Q}}">Upload</a> to
    <code>{{ input.form.action|default(form.action) }}
        ({{ input.form.method|default(form.method) }})</code></p>
  {% else %}
  <p>Please correct errors listed in sidebar before submitting this form!</p>
  {% endif %}
</section>{%- endblock -%}