{% import 'forms.html' as forms %} {% macro show_editor_info(info) %} {%- if info.uri -%} {{ info.text }} {%- elif info.email -%} {{ info.text }} {%- else -%} {{ info.text }} {%- endif -%} {% endmacro %} {% macro editor_info(meta) %} {%- set info = get_editor_info(meta) -%} {{ show_editor_info(info) }} {% endmacro %} {% macro table(headings, rows, itemname_cols=[], url_cols=[]) %}
{{ heading }} | {% else %}{{ heading }} | {% endif %} {% endfor %}||
---|---|---|---|
{{ col }} | {% elif loop.index in itemname_cols %}{{ col }} | {% elif loop.index in url_cols %}{{ col }} | {%- else -%}{{ col }} | {% endif %} {% endfor %}
{{ help|safe }}