]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/header.html
be able to pass additional context to the _edit_question view
[osqa.git] / forum / skins / default / templates / header.html
index 5e6e10fdd8d24e81fc9c369cdb5de7590d51da74..0e3a73f7d0805b9ef9fc76770bf9fa60e9670149 100644 (file)
@@ -25,6 +25,7 @@
   
        <div id="searchBar">
     <form action="{% url search %}" method="get">
   
        <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" />
         <div>
             <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
             <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
@@ -40,8 +41,8 @@
 
        {% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
   <div id="announcement">
 
        {% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
   <div id="announcement">
-      {{ settings.ANNOUNCEMENT_BAR|or_preview:request|markdown:"settingsparser" }}
+      {{ settings.ANNOUNCEMENT_BAR|or_preview:request|static_content:settings.ANNOUNCEMENT_BAR_RENDER_MODE }}
   </div>
   {% endif %}
 
   </div>
   {% endif %}
 
-<!-- end template header.html -->
\ No newline at end of file
+<!-- end template header.html -->