summaryrefslogtreecommitdiffstats
path: root/templates/activities
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-27 12:09:08 -0700
committerAndrew Godwin2022-11-27 12:09:08 -0700
commit8e9e3ecf6935db84bbc731252f592795675de685 (patch)
treeeb3f690cdc7504b3f8fc2da716c1bbfc4bacc36c /templates/activities
parent6c7ddedd342553b53dd98c8de9cbe9e8e2e8cd7c (diff)
downloadtakahe-8e9e3ecf6935db84bbc731252f592795675de685.tar.gz
takahe-8e9e3ecf6935db84bbc731252f592795675de685.tar.bz2
takahe-8e9e3ecf6935db84bbc731252f592795675de685.zip
Some cleanup around editing
Diffstat (limited to 'templates/activities')
-rw-r--r--templates/activities/compose.html2
-rw-r--r--templates/activities/post_delete.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/activities/compose.html b/templates/activities/compose.html
index e705f97..4809177 100644
--- a/templates/activities/compose.html
+++ b/templates/activities/compose.html
@@ -18,7 +18,7 @@
{% include "forms/_field.html" with field=form.visibility %}
</fieldset>
<div class="buttons">
- <button>{% if form.id %}Edit{% elif config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
+ <button>{% if form.id.value %}Edit{% elif config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button>
</div>
</form>
{% endblock %}
diff --git a/templates/activities/post_delete.html b/templates/activities/post_delete.html
index 1566399..47d283c 100644
--- a/templates/activities/post_delete.html
+++ b/templates/activities/post_delete.html
@@ -4,11 +4,11 @@
{% block content %}
<h1>Delete this post?</h1>
+ {% include "activities/_mini_post.html" %}
<form action="." method="POST">
{% csrf_token %}
<a class="button" onclick="history.back()">Cancel</a>
<button class="delete">Delete</button>
</form>
- {% include "activities/_post.html" %}
{% endblock %}