view MoinMoin/themes/basic/templates/modify_meta.html @ 2960:b2417a0dd48f tip

trivial change to prevent traceback when 0 is passed to TableOfContents macro
author RogerHaase <haaserd@gmail.com>
date Thu, 18 Jun 2015 15:31:51 -0700
parents b942154b2d74
children
line wrap: on
line source
{% import "forms.html" as forms %}

{% macro basic_meta_editor(form) %}
    {% for e in [
        'itemtype',
        'contenttype',
        'summary',
        'tags',
        'name',
        ] %}
        <div class="form-group">
            {{ gen.label(form[e]) }}
            {{ gen.textarea(form[e], rows='1', class='form-control') }}
        </div>
    {% endfor %}
{% endmacro %}