From 34a2afc788061da8dc8f8472dbea68315c29fd9d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 17 Dec 2020 11:05:37 -0800 Subject: [PATCH] Change text on cw button --- .../snippets/content_warning_field.html | 18 ++++++++++++++++++ .../templates/snippets/create_status_form.html | 9 +-------- bookwyrm/templates/snippets/reply_form.html | 11 ++--------- 3 files changed, 21 insertions(+), 17 deletions(-) create mode 100644 bookwyrm/templates/snippets/content_warning_field.html diff --git a/bookwyrm/templates/snippets/content_warning_field.html b/bookwyrm/templates/snippets/content_warning_field.html new file mode 100644 index 000000000..1787c0a86 --- /dev/null +++ b/bookwyrm/templates/snippets/content_warning_field.html @@ -0,0 +1,18 @@ +
+
+ + +
+ +
+ + +
+
+ diff --git a/bookwyrm/templates/snippets/create_status_form.html b/bookwyrm/templates/snippets/create_status_form.html index 70062db4d..a0c6b817d 100644 --- a/bookwyrm/templates/snippets/create_status_form.html +++ b/bookwyrm/templates/snippets/create_status_form.html @@ -27,14 +27,7 @@ {% endif %} -
- - - -
+ {% include 'snippets/content_warning_field.html' %} {% if type == 'quote' %} diff --git a/bookwyrm/templates/snippets/reply_form.html b/bookwyrm/templates/snippets/reply_form.html index 65aa3e46a..787a3ac54 100644 --- a/bookwyrm/templates/snippets/reply_form.html +++ b/bookwyrm/templates/snippets/reply_form.html @@ -6,19 +6,12 @@
-
- - - -
+ + {% include 'snippets/content_warning_field.html' with parent_status=activity %}
-
{% include 'snippets/privacy_select.html' with current=activity.privacy %}