diff options
author | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
---|---|---|
committer | Mike Chen <chagel@gmail.com> | 2009-07-05 10:23:06 +0800 |
commit | 2acb62174ab2cac9c7a88faafcb5f0a22a54db6f (patch) | |
tree | 93e9d22d6fb8a6c882e3915a8511a3ac542a1e67 /templates/close.html | |
download | askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.gz askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.tar.bz2 askbot-2acb62174ab2cac9c7a88faafcb5f0a22a54db6f.zip |
initiliaze git rep
Diffstat (limited to 'templates/close.html')
-rw-r--r-- | templates/close.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/close.html b/templates/close.html new file mode 100644 index 00000000..04a22f18 --- /dev/null +++ b/templates/close.html @@ -0,0 +1,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 %} + + + |