view MoinMoin/templates/modify_select_contenttype.html @ 1592:640da44961b2

merged
author Jaiditya Mathur <jaiditya.mathur@gmail.com>
date Thu, 02 Aug 2012 02:56:15 +0530
parents MoinMoin/templates/modify_show_contenttype_selection.html@924a3d927018 MoinMoin/templates/modify_show_contenttype_selection.html@157d41b326b1
children 5acaea38f1a2
line wrap: on
line source
{% extends theme("layout.html") %}
{% block content %}
<h1>{{ _("Create new item?") }}</h1>
<p>
{# XXX should show itemtype's display name #}
{{ _("Please select the contenttype of the new %(itemtype)s item.", itemtype=itemtype) }}
</p>
<table id="moin-create-table" class="zebra">
    {% for gname, contenttypes in contenttype_groups %}
    <tr>
        <th>{{ gname }}</th>
    </tr>
    <tr>
        <td> |&nbsp
        {% for ctname, ctlabel in contenttypes %}
            <a href="{{ url_for('frontend.modify_item', item_name=item_name, itemtype=itemtype, contenttype=ctname) }}">{{ ctlabel }}</a> &nbsp|&nbsp
        {% endfor %}
        </td>
    </tr>
    {% endfor %}
</table>
{% endblock %}