pyrom/app/templates/posts/edit.html
2025-07-02 16:22:07 +03:00

19 lines
717 B
HTML

{% from 'common/macros.html' import full_post %}
{% extends 'base.html' %}
{% block title %}editing a post{% endblock %}
{% block content %}
{% for post in prev_context | reverse %}
{{ full_post(post=post, no_reply=true, active_user=active_user) }}
{% endfor %}
<span class="context-explain">
<span>&uarr;&uarr;&uarr;</span><i>Context</i><span>&uarr;&uarr;&uarr;</span>
</span>
{{ full_post(post=editing_post, editing=true, no_reply=true, active_user=active_user) }}
<span class="context-explain">
<span>&darr;&darr;&darr;</span><i>Context</i><span>&darr;&darr;&darr;</span>
</span>
{% for post in next_context %}
{{ full_post(post=post, no_reply=true, active_user=active_user) }}
{% endfor %}
{% endblock %}