]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/close.html
Visual indication of community wiki, and made the markddown_help use base_content...
[osqa.git] / forum / skins / default / templates / close.html
1 {% extends "base_content.html" %}
2 <!-- template close.html -->
3 {% load i18n %}
4 {% load extra_tags %}
5 {% load humanize %}
6 {% block title %}{% spaceless %}{% trans "Close question" %}{% endspaceless %}{% endblock %}
7 {% block forejs %}
8        <script type="text/javascript">
9         $().ready(function(){
10             $('#btBack').bind('click', function(){ history.back(); });
11         });
12         </script>
13 {% endblock %}
14 {% block content %}
15 <div id="main-bar" class="headNormal">
16         {% trans "Close question" %}
17 </div>
18 <div id="main-body" style="width:100%;margin-bottom:10px">
19     <p>{% trans "Close the question" %}: <a href="{{ question.get_absolute_url }}">
20     <strong>{{ question.get_question_title }}</strong></a>
21     </p>   
22     
23     <form id="fmclose" action="{% url close question.id %}" method="post" >
24         <p>
25             <strong>{% trans "Reasons" %}:</strong> {{ form.reason }}
26         </p>
27         <div id="" style="padding-top:20px">
28             <input type="submit" value="{% trans "OK to close" %}" class="submit" />
29             <input id="btBack" type="button" class="submit" value="{% trans "Cancel" %}"  />
30             
31         </div>
32         
33     </form>
34 </div>
35 {% endblock %}
36 <!-- end template close.html -->