From 35b666224a05fbd249b1c51a0a48fb95b246fe9a Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 10 Jul 2009 19:15:28 -0400 Subject: adding all files again --- templates/ask.html | 140 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 templates/ask.html (limited to 'templates/ask.html') diff --git a/templates/ask.html b/templates/ask.html new file mode 100644 index 00000000..1b00a701 --- /dev/null +++ b/templates/ask.html @@ -0,0 +1,140 @@ + +{% extends "base.html" %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "Ask a question" %}{% endspaceless %}{% endblock %} +{% block forejs %} + + + + + + + +{% endblock %} + +{% block content %} +
+ {% trans "Ask a question" %} +
+
+
+
+

+
+ {{ form.title }} {{ form.title.errors }} +

+ {{ form.title.help_text }} +
+

+ +

+

+ {{ form.text }} + +
+ + + + + + +
+ {% trans "toggle preview" %} + + {{ form.wiki }} {{ form.wiki.label_tag }} +
+
+
+ +
+

+

+ {{ form.tags.label_tag }}:
+ {{ form.tags }} {{ form.tags.errors }} +

+ {{ form.tags.help_text }} +
+

+
+ {% if not request.user.is_authenticated %} + + + + + + +
+ {% trans "Use" %} OpenID {% trans "Login" %}:
+ {{ form.openid }} +
+ {% trans "Get your own "%} OpenID。 +
+
+
+
+
+ {% trans "User name" %}:
+ {{ form.user }} +

+ {% trans "Email: (won't be shown to anyone)" %}:
+ {{ form.email }} +

+
+ {% endif %} + +

+
+
+
+{% endblock %} + +{% block sidebar %} +{% include "question_edit_tips.html" %} +{% endblock %} + +{% block endjs %} +{% endblock %} + -- cgit v1.2.3-1-g7c22