comparison 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
comparison
equal deleted inserted replaced
2699:3bc9fd6d054e 2709:b41fae684e47
1 {% extends "ticket/base.html" %} 1 {% extends "ticket/base.html" %}
2 2
3 {% block title_text %} 3 {% block title_text %}
4 {{ _("Creating new ticket: '%(item_name)s'", item_name=item_name) }} 4 {{ _("Create new ticket") }}
5 {% endblock %} 5 {% endblock %}
6 6
7 {% block form_controls %} 7 {% block form_controls %}
8 <h2>{{ _("Describe the ticket") }}</h2> 8 <h2>{{ _("Describe the ticket") }}</h2>
9 9
10 <dl> 10 <dl>
11 {{ forms.render(form['message']) }} 11 <div class="form-group">
12 {{ gen.label(form['message']) }}
13 {{ gen.textarea(form['message'], class='form-control') }}
14 </div>
12 </dl> 15 </dl>
16 {% endblock %}
17 {% block ticket_metadata %}
13 18
14 <h2>{{ _("Provide metadata") }}</h2> 19 <h2>{{ _("Provide metadata") }}</h2>
15 <dl> 20 <dl>
16 {{ forms.render_errors(form) }} 21 {{ forms.render_errors(form) }}
17 {{ render_meta() }} 22 {{ render_meta() }}