annotate default/ticket/create.html @ 58:4347910cc594
input(xmlui): added attributes argument to create:
specific attributes can be used of named widget (for some widget converted to <input> only so far).
The argument is a dict from widget name to a sub dict containing the keyword arguments.
The next dict_ext filter is used.
author |
Goffi <goffi@goffi.org> |
date |
Thu, 09 Nov 2017 08:05:23 +0100 |
parents |
ea67eba3199d |
children |
232eb1b4cd89 |
rev |
line source |
56
|
1 {% extends 'base/base.html' %} |
|
2 {% import 'input/form.html' as form with context %} |
|
3 {% import 'input/field.html' as field with context %} |
|
4 {% import 'input/xmlui.html' as xmlui with context %} |
|
5 |
|
6 {% block body %} |
|
7 <div class='instructions'> |
|
8 <p><span class="box">{% trans app_name=C.APP_NAME%}This page allows you to report an issue or ask/suggest a new feature for {{app_name}}{% endtrans %}</span></p> |
|
9 </div> |
|
10 <div class="create single ticket box"> |
|
11 {% call form.form() %} |
|
12 {{ xmlui.generate(new_ticket_xmlui) }} |
|
13 {{ field.submit(_("Create ticket")) }} |
|
14 {% endcall %} |
|
15 </div> |
|
16 {% endblock body %} |