view MoinMoin/templates/ticket/submit.html @ 2802:d48823d6b79b

fix html validation error in Create New Ticket - remove dl enclosing div
author RogerHaase <haaserd@gmail.com>
date Fri, 03 Oct 2014 10:51:38 -0700
parents 31628ac3ec21
children
line wrap: on
line source
{% extends "ticket/base.html" %}

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

{% block form_controls %}
    <h2>{{ _("Describe the ticket") }}</h2>
    <div class="form-group">
        {{ gen.label(form['message']) }}
        {{ gen.textarea(form['message'], class='form-control') }}
    </div>
{% endblock %}
{% block ticket_metadata %}

    <div class="moin-ticket-metadata">
        <h2>{{ _("Provide metadata") }}</h2>
        <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>
    </div>
    <div class="moin-ticket-submit">
        {{ forms.render_submit(form) }}
    </div>
{% endblock %}