<div id="searchBar">
<form action="{% url search %}" method="get">
+ {% csrf_token %}
<div>
<input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
<input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
{% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
<div id="announcement">
- {{ settings.ANNOUNCEMENT_BAR|or_preview:request|safe }}
+ {{ settings.ANNOUNCEMENT_BAR|or_preview:request|static_content:settings.ANNOUNCEMENT_BAR_RENDER_MODE }}
</div>
{% endif %}