summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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 %}