feat(handlers/render): Display edit form for user's own posts
Displays an edit form for posts that are owned by a user (which is currently defined as "email addresses match").
This commit is contained in:
parent
7a55786552
commit
705097dab9
5 changed files with 63 additions and 2 deletions
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
<div class="d-inline-flex flex-row mt-auto ml-auto">
|
||||
{%- if post.editable %}
|
||||
<a href="#edit" class="badge badge-light border m-1 p-1">Edit</a>
|
||||
<a href="/post/{{ post.id }}/edit" class="badge badge-light border m-1 p-1">Edit</a>
|
||||
{% endif -%}
|
||||
<a href="#quote" class="badge badge-light border m-1 p-1">Quote</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue