diff options
author | Michael Manfre | 2022-11-27 13:09:46 -0500 |
---|---|---|
committer | GitHub | 2022-11-27 11:09:46 -0700 |
commit | 6c7ddedd342553b53dd98c8de9cbe9e8e2e8cd7c (patch) | |
tree | e34059bca5e13a8a614687face1153d63e7f5654 /templates/activities/compose.html | |
parent | 263af996d8ed05e37ef5a62c6ed240216a6eb67b (diff) | |
download | takahe-6c7ddedd342553b53dd98c8de9cbe9e8e2e8cd7c.tar.gz takahe-6c7ddedd342553b53dd98c8de9cbe9e8e2e8cd7c.tar.bz2 takahe-6c7ddedd342553b53dd98c8de9cbe9e8e2e8cd7c.zip |
Post editing
Diffstat (limited to 'templates/activities/compose.html')
-rw-r--r-- | templates/activities/compose.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/activities/compose.html b/templates/activities/compose.html index 1a02227..e705f97 100644 --- a/templates/activities/compose.html +++ b/templates/activities/compose.html @@ -12,12 +12,13 @@ {% include "activities/_mini_post.html" with post=reply_to %} {% endif %} {{ form.reply_to }} + {{ form.id }} {% include "forms/_field.html" with field=form.text %} {% include "forms/_field.html" with field=form.content_warning %} {% include "forms/_field.html" with field=form.visibility %} </fieldset> <div class="buttons"> - <button>{% if config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button> + <button>{% if form.id %}Edit{% elif config_identity.toot_mode %}Toot!{% else %}Post{% endif %}</button> </div> </form> {% endblock %} |