]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/reopen.html
Merge pull request #5 from lra/french
[osqa.git] / forum / skins / default / templates / reopen.html
index 37fb69c149caacb0b87478ad856332676e8bb0b3..9af3f4f2469377451bb0163a7aa65663f3512f4f 100644 (file)
        {% trans "Reopen question" %}
 </div>
 <div id="main-body" style="width:100%">
-    <p>{% trans "Open the previously closed question" %}: <a href="{{ question.get_absolute_url }}"><span class="big">{{ question.get_question_title }}</span></a>
+    <p>{% trans "Open the previously closed question" %}: <a href="{{ question.get_absolute_url }}"><span class="big">{{ question.headline }}</span></a>
     
     </p>   
     <p><strong>{% trans "The question was closed for the following reason " %}"{{ question.get_close_reason_display }}"{% trans "reason - leave blank in english" %} <a href="{{ question.closed_by.get_profile_url }}">{{ question.closed_by.username }}</a> {% trans "on "%} {% diff_date question.closed_at %}<font class="darkred">{% trans "date closed" %}</font>
         </strong>
     </p>
     
-    <form id="fmclose" action="{% url reopen question.id %}" method="post" >
-
+    <form id="fmclose" action="{% url "reopen" question.id %}" method="post">
+        {% csrf_token %}
         <div id="" style="padding:20px 0 20px 0">
             <input type="submit" value="{% trans "Reopen this question" %}" class="submit" />
             <input id="btBack" type="button" value="{% trans "Cancel" %}"  class="submit"  />
-            
         </div>
-        
     </form>
 </div>
 {% endblock %}