add subscribing and unsubscribing, add post editing
This commit is contained in:
24
app/templates/posts/edit.html
Normal file
24
app/templates/posts/edit.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{%- 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 -%}
|
||||
Reference in New Issue
Block a user