diasporadiaries

a platform for writing stories with personal accounts and messages
git clone git://parazyd.org/diasporadiaries.git
Log | Files | Refs | Submodules | README | LICENSE

commit fa02b7e45ccc2d175555fdbae9b00cc7ffca2a42
parent efd76789e9ed892c2f9f3db87990f0336e70ca35
Author: parazyd <parazyd@dyne.org>
Date:   Tue, 22 Jan 2019 16:16:01 +0100

Don't <a> the delete link when submitting a story.

Diffstat:
Mtemplates/success_write.html | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/templates/success_write.html b/templates/success_write.html @@ -14,9 +14,10 @@ <p class="lead">Your story will be read and approved by someone from the crew.</p> - <p class="lead">Bookmark or copy the following link if you ever wish to - delete your post: <a href="/delete?key={{ delkey }}">delete link</a> - </p> + <p class="lead">Bookmark or copy the following link if you ever wish to delete + your post: </p> + + <p>{{ request.host_url }}delete?key={{ delkey }}</p> {% if new %} <p class="lead">Since you've left your email, we've created credentials