2022-07-14 14:07:04 +02:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block content %}
|
|
|
|
<ow-admin>
|
|
|
|
<ow-articles>
|
2022-07-21 15:06:14 +02:00
|
|
|
{% for article in news -%}
|
2022-07-14 14:07:04 +02:00
|
|
|
<edit-news-article article-id="{{ article.id }}">
|
|
|
|
<news-article
|
|
|
|
article-id="{{ article.id }}"
|
|
|
|
article-title="{{ article.title }}"
|
|
|
|
status="{{ article.status.as_str() }}"
|
|
|
|
published-at="{{ article.published_at|opt_time }}"
|
|
|
|
created-at="{{ article.created_at }}"
|
|
|
|
>
|
2022-07-21 15:06:14 +02:00
|
|
|
{{- article.body|safe -}}
|
2022-07-14 14:07:04 +02:00
|
|
|
</news-article>
|
|
|
|
</edit-news-article>
|
2022-07-21 15:06:14 +02:00
|
|
|
{%- endfor %}
|
2022-07-14 14:07:04 +02:00
|
|
|
</ow-articles>
|
2022-07-14 19:36:33 +02:00
|
|
|
<article-form></article-form>
|
2022-07-14 14:07:04 +02:00
|
|
|
</ow-admin>
|
|
|
|
{% endblock %}
|