Files
pyrom/app/templates/posts/edit.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>&uarr;&uarr;&uarr;</span>
<i>Context</i>
<span>&uarr;&uarr;&uarr;</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>&darr;&darr;&darr;</span>
<i>Context</i>
<span>&darr;&darr;&darr;</span>
</div>
{%- for post in context_next -%}
<div class="post plank">{{- full_post(post=post, show_toolbar=false, show_reactions=false) -}}</div>
{%- endfor -%}
{%- endblock -%}