summaryrefslogtreecommitdiffstats
path: root/templates/close.html
blob: 04a22f184d9133c016bbb99e970faa9c00da7ee2 (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
28
29
30
31
32
33
34
35
36
{% extends "base_content.html" %}
{% load extra_tags %}
{% load humanize %}
{% block title %}{% spaceless %}关闭问题{% endspaceless %}{% endblock %}
{% block forejs %}
       <script type="text/javascript">
        $().ready(function(){
            $('#btBack').bind('click', function(){ history.back(); });
        });
        </script>
{% endblock %}
{% block content %}
<div id="main-bar" class="headNormal">
    关闭问题
</div>
<div id="main-body" style="width:100%;margin-bottom:10px">
    <p>由于以下原因,你要关闭这个问题: <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>原因:</strong> {{ form.reason }}
        </p>
        <div id="" style="padding-top:20px">
            <input type="submit" value="确定关闭" class="submit" />
            <input id="btBack" type="button" class="submit" value="取消"  />
            
        </div>
        
    </form>
</div>
{% endblock %}