~alcinnz/bureaucromancy

ref: 1030d237866bf99999711515fa46dd9fdf729324 bureaucromancy/tpl/submit.html -rw-r--r-- 448 bytes
1030d237 — Adrian Cochrane Internationalize form validation. 11 months 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 -%}