view MoinMoin/templates/ticket/submit.html @ 2742:a99204e6772d

Now Suggested tags renders properly in ticket submit and modify view
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Sun, 17 Aug 2014 12:48:05 +0530
parents b41fae684e47
children 4d1fc4459a83
line wrap: on
line source
{% extends "ticket/base.html" %}

{% block title_text %}
    {{ _("Create new ticket") }}
{% endblock %}

{% block form_controls %}
    <h2>{{ _("Describe the ticket") }}</h2>

    <dl>
        <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>
    <div class="moin-ticket-metadata">
        <dl>
        {{ forms.render_errors(form) }}
        {{ render_meta() }}
        </dl>
	<div class="moin-ticket-tags">
            {{ _("Suggested Tags: ") }}
            {% for suggested_tag in suggested_tags %}
                {{ suggested_tag }}
            {% endfor %}
	</div>
        <dl>
        {{ render_selectlists() }}
        </dl>

        {{ forms.render_submit(form) }}
    </div>
{% endblock %}