view MoinMoin/templates/blog/modify_entry_meta.html @ 1723:805f03d03259

Move blog templates to a separate 'blog' directory. Split 'blog_layout' into two parts, 'layout' and 'utils'.
author Pavel Sviderski <pavel@psviderski.name>
date Tue, 21 Aug 2012 22:42:59 +0200
parents
children a22b4979caa2
line wrap: on
line source
{% import "forms.html" as forms %}

{% macro meta_editor(form) %}
    <h2>Blog entry metadata</h2>
    <dl>
        {% for e in [
            'itemtype',
            'contenttype',
            'summary',
            'tags',
            'ptime',
            ] %}
            {{ forms.render(form[e]) }}
        {% endfor %}
    </dl>
{% endmacro %}