~alcinnz/bureaucromancy

ref: 1030d237866bf99999711515fa46dd9fdf729324 bureaucromancy/tpl/image-button.html -rw-r--r-- 575 bytes
1030d237 — Adrian Cochrane Internationalize form validation. 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{% extends "base.html" %}

{# NOTE: This is pretty much a legacy input type now.
   We should be sending x/y coordinates to the server,
   but that'd be frustrating to operate using e.g. a TV remote. #}

{%- block main -%}<section>
  <img src="{{ input.src }}" alt="{{ input.alt }}" title="{{ input.alt }}" />
  <div>{{ input.description }}</div>
  <hr />
  <!-- TODO: Internationalize! -->
  <p><a href="_{{Q}}">Upload</a> to
    <code>{{ input.form.action|default(form.action) }}
        ({{ input.form.method|default(form.method) }})</code></p>
</section>{%- endblock -%}