blob: 57ff5780fca6c1a3d2dd547f01fd998667def62d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
{% extends "one_column_body.html" %}
<!-- template close.html -->
{% block title %}{% spaceless %}{% trans %}Close question{% endtrans %}{% endspaceless %}{% endblock %}
{% block content %}
<h1>{% trans %}Close question{% endtrans %}</h1>
<p>{% trans %}Close the question{% endtrans %}: <a href="{{ question.get_absolute_url() }}">
<strong>{{ question.get_question_title() }}</strong></a>
</p>
<form id="fmclose" action="{% url close question.id %}" method="post" >
<p>
<strong>{% trans %}Reasons{% endtrans %}:</strong>
{{ form.reason }}
</p>
<p>
<input type="submit" value="{% trans %}OK to close{% endtrans %}" class="submit" />
<input id="btBack" type="button" class="submit" value="{% trans %}Cancel{% endtrans %}" />
</p>
</form>
{% endblock %}
{% block endjs %}
<script type="text/javascript">
$().ready(function(){
$('#btBack').bind('click', function(){ history.back(); });
});
</script>
{% endblock %}
<!-- end template close.html -->
|