25 lines
935 B
HTML
25 lines
935 B
HTML
{%- from 'common/macros.html' import full_post with context -%}
|
|
{%- extends 'base.html' -%}
|
|
{%- block title -%}editing a post{%- endblock -%}
|
|
{%- block content -%}
|
|
{%- for post in context_prev -%}
|
|
<div class="post plank">{{- full_post(post=post, show_toolbar=false, show_reactions=false) -}}</div>
|
|
{%- endfor -%}
|
|
<div class="plank secondary-bg context-explain">
|
|
<span>↑↑↑</span>
|
|
<i>Context</i>
|
|
<span>↑↑↑</span>
|
|
</div>
|
|
<form class="post plank" method="POST">
|
|
{{- full_post(post=post, is_editing=true, show_toolbar=false, show_reactions=false) -}}
|
|
</form>
|
|
<div class="plank secondary-bg context-explain">
|
|
<span>↓↓↓</span>
|
|
<i>Context</i>
|
|
<span>↓↓↓</span>
|
|
</div>
|
|
{%- for post in context_next -%}
|
|
<div class="post plank">{{- full_post(post=post, show_toolbar=false, show_reactions=false) -}}</div>
|
|
{%- endfor -%}
|
|
{%- endblock -%}
|