changeset 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 f76ec90e0e1e
files default/ticket/create.html
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/default/ticket/create.html	Thu Nov 09 08:06:03 2017 +0100
+++ b/default/ticket/create.html	Sat Nov 11 00:14:23 2017 +0100
@@ -12,7 +12,8 @@
     {{ xmlui.generate(new_ticket_xmlui,
                       attributes = {'title': {'required': 'required',
                                               'placeholder': _("Short description of your issue/request")},
-                                    'body': {'placeholder': _("Please describe your issue/request with as much details as possible")},
+                                    'body': {'required': 'required',
+                                             'placeholder': _("Please describe your issue/request with as much details as possible")},
                                     'labels': {'placeholder': _("You can enter one or several labels separated by commas")},
                                     })}}
     {{ field.submit(_("Create ticket")) }}