comparison default/ticket/create.html @ 60:f3c0447b8b4c

ticket/create: body is now required
author Goffi <goffi@goffi.org>
date Sat, 11 Nov 2017 00:14:23 +0100
parents 232eb1b4cd89
children e7b62f6980a1
comparison
equal deleted inserted replaced
59:232eb1b4cd89 60:f3c0447b8b4c
10 <div class="create single ticket box"> 10 <div class="create single ticket box">
11 {% call form.form() %} 11 {% call form.form() %}
12 {{ xmlui.generate(new_ticket_xmlui, 12 {{ xmlui.generate(new_ticket_xmlui,
13 attributes = {'title': {'required': 'required', 13 attributes = {'title': {'required': 'required',
14 'placeholder': _("Short description of your issue/request")}, 14 'placeholder': _("Short description of your issue/request")},
15 'body': {'placeholder': _("Please describe your issue/request with as much details as possible")}, 15 'body': {'required': 'required',
16 'placeholder': _("Please describe your issue/request with as much details as possible")},
16 'labels': {'placeholder': _("You can enter one or several labels separated by commas")}, 17 'labels': {'placeholder': _("You can enter one or several labels separated by commas")},
17 })}} 18 })}}
18 {{ field.submit(_("Create ticket")) }} 19 {{ field.submit(_("Create ticket")) }}
19 {% endcall %} 20 {% endcall %}
20 </div> 21 </div>