From ad8666ebeca4367620c812dc73236a51102d85f3 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sat, 1 May 2021 07:20:54 -0700 Subject: [PATCH] Removes extra "content" field in status editor that broke dms --- bookwyrm/templates/feed/direct_messages.html | 2 +- .../snippets/create_status_form.html | 20 ++++++++++++++----- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/bookwyrm/templates/feed/direct_messages.html b/bookwyrm/templates/feed/direct_messages.html index f097fd9f..1e361e61 100644 --- a/bookwyrm/templates/feed/direct_messages.html +++ b/bookwyrm/templates/feed/direct_messages.html @@ -14,7 +14,7 @@
- {% include 'snippets/create_status_form.html' with type="direct" uuid=1 mentions=partner %} + {% include 'snippets/create_status_form.html' with type="direct" uuid=1 mention=partner %}
diff --git a/bookwyrm/templates/snippets/create_status_form.html b/bookwyrm/templates/snippets/create_status_form.html index a74230ad..f6021622 100644 --- a/bookwyrm/templates/snippets/create_status_form.html +++ b/bookwyrm/templates/snippets/create_status_form.html @@ -36,13 +36,23 @@
{% if type == 'quotation' %} - - {% elif type == 'reply' %} - {% include 'snippets/content_warning_field.html' with parent_status=status %} - + {% else %} {% include 'snippets/content_warning_field.html' with parent_status=status %} - + {% endif %}