diff --git a/app/templates/views/templates/_search-box.html b/app/templates/views/templates/_search-box.html new file mode 100644 index 000000000..d150ebebe --- /dev/null +++ b/app/templates/views/templates/_search-box.html @@ -0,0 +1,10 @@ + {% if show_search_box %} +
+ +
+ {% endif %} \ No newline at end of file diff --git a/app/templates/views/templates/choose-reply.html b/app/templates/views/templates/choose-reply.html index 11927b0c6..a356d0100 100644 --- a/app/templates/views/templates/choose-reply.html +++ b/app/templates/views/templates/choose-reply.html @@ -28,16 +28,7 @@ {% else %} - {% if show_search_box %} -
- -
- {% endif %} + {% include "views/templates/_search-box.html" %}