diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-10 19:15:28 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2009-07-10 19:15:28 -0400 |
commit | 35b666224a05fbd249b1c51a0a48fb95b246fe9a (patch) | |
tree | bfce966ce040dd849e8cc35a012d18f7632ad6b1 /templates/close.html | |
parent | 5b45e526c74faf55110ff0afdcba19797d7e0f4d (diff) | |
download | askbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.tar.gz askbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.tar.bz2 askbot-35b666224a05fbd249b1c51a0a48fb95b246fe9a.zip |
adding all files again
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..32df3e82 --- /dev/null +++ b/templates/close.html @@ -0,0 +1,36 @@ +<!-- template close.html --> +{% extends "base_content.html" %} +{% load i18n %} +{% load extra_tags %} +{% load humanize %} +{% block title %}{% spaceless %}{% trans "Close question" %}{% 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"> + {% trans "Close question" %} +</div> +<div id="main-body" style="width:100%;margin-bottom:10px"> + <p>{% trans "Close the question" %}: <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" %}:</strong> {{ form.reason }} + </p> + <div id="" style="padding-top:20px"> + <input type="submit" value="{% trans "OK to close" %}" class="submit" /> + <input id="btBack" type="button" class="submit" value="{% trans "Cancel" %}" /> + + </div> + + </form> +</div> +{% endblock %} +<!-- end template close.html --> |