about summary refs log tree commit diff
path: root/templates
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-04-15T21·09+0200
committerVincent Ambo <tazjin@gmail.com>2018-04-15T21·09+0200
commit705097dab91c57524d2311dd839615840044437c (patch)
tree2b7763180fb25d3e85107a086b8fb1739e0e6688 /templates
parent7a557865528d6dba78b4dcb90248623aa100f930 (diff)
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").
Diffstat (limited to 'templates')
-rw-r--r--templates/thread.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/thread.html b/templates/thread.html
index 6a89135cd2..826046ce15 100644
--- a/templates/thread.html
+++ b/templates/thread.html
@@ -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>