{% macro edit_buttons() %}
{% endmacro %}
{% macro datalist_of_titles(title, candidates) %}
{% endmacro %}
{% macro simple_checkbox_table(title, items, type_name, list_name, add_string="add", historical=false) %}
{% if items|length > 0 %}
{% endif %}
{{add_string}}:
{% endmacro %}
{% macro history_page(item_name, item, attribute_name, attribute, as_pre=false) %}
{{item_name}} {{attribute_name}} history
{{item_name}} |
{{item.title.newest|e}} |
{% for date in attribute.history.keys() | sort(reverse=True) %}
{{date | truncate(19, True, '') }} |
{% if as_pre %}{% endif %}{{attribute.history[date]}}{% if as_pre %} {% endif %} |
{% endfor %}
{% endmacro %}