diff MoinMoin/templates/ticket/submit.html @ 2709:b41fae684e47

Moved comments to right and meta-data to left in modify/submit view of tickets and also removed the usage of name in ticket templates, used summary instead of name as heading in ticket modify template
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Thu, 07 Aug 2014 21:01:45 +0530
parents 44a288038e11
children a99204e6772d
line wrap: on
line diff
--- a/MoinMoin/templates/ticket/submit.html	Thu Aug 07 16:38:02 2014 +0200
+++ b/MoinMoin/templates/ticket/submit.html	Thu Aug 07 21:01:45 2014 +0530
@@ -1,15 +1,20 @@
 {% extends "ticket/base.html" %}
 
 {% block title_text %}
-    {{ _("Creating new ticket: '%(item_name)s'", item_name=item_name) }}
+    {{ _("Create new ticket") }}
 {% endblock %}
 
 {% block form_controls %}
     <h2>{{ _("Describe the ticket") }}</h2>
 
     <dl>
-    {{ forms.render(form['message']) }}
+        <div class="form-group">
+            {{ gen.label(form['message']) }}
+            {{ gen.textarea(form['message'], class='form-control') }}
+        </div>
     </dl>
+{% endblock %}
+{% block ticket_metadata %}
 
     <h2>{{ _("Provide metadata") }}</h2>
     <dl>