view 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
line wrap: on
line source

{% extends 'base/base.html' %}
{% import 'input/form.html' as form with context %}
{% import 'input/field.html' as field with context %}
{% import 'input/xmlui.html' as xmlui with context %}

{% block body %}
<div class='instructions'>
    <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>
</div>
<div class="create single ticket box">
{% call form.form() %}
    {{ xmlui.generate(new_ticket_xmlui) }}
    {{ field.submit(_("Create ticket")) }}
{% endcall %}
</div>
{% endblock body %}