{% macro edit_buttons() %}
{% endmacro %} {% macro datalist_of_titles(title, candidates) %} {% for candidate in candidates %} {% endfor %} {% endmacro %} {% macro simple_checkbox_table(title, items, type_name, list_name, add_string="add") %} {% for item in items %} {% endfor %}
{{item.title.newest|e}}
{{add_string}}: {% endmacro %} {% macro history_page(item_name, item, attribute_name, attribute, as_pre=false) %}

{{item_name}} {{attribute_name}} history

{% for date in attribute.history.keys() | sort(reverse=True) %} {% endfor %}
{{item_name}} {{item.title.newest|e}}
{{date | truncate(19, True, '') }} {% if as_pre %}
{% endif %}{{attribute.history[date]}}{% if as_pre %}
{% endif %}
{% endmacro %}