{% extends 'layout/admin_page.html' %} {% from 'forms/_form.html' import simple_form %} {%- block content %}
{% trans %}News{% endtrans %}

{% trans %}Title{% endtrans %} | {% trans %}Date{% endtrans %} |
--- | --- | ---
{% for item in news %} {{ _render_news_row(item) }} {% endfor %}

{%- endblock %} {% macro _render_news_row(item) %}
{{ item.title }} {{ item.created_dt|format_datetime }}
{% endmacro %}