summaryrefslogtreecommitdiffstats
path: root/askbot/skins/old/templates/blocks/ask_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/skins/old/templates/blocks/ask_form.html')
-rw-r--r--askbot/skins/old/templates/blocks/ask_form.html46
1 files changed, 0 insertions, 46 deletions
diff --git a/askbot/skins/old/templates/blocks/ask_form.html b/askbot/skins/old/templates/blocks/ask_form.html
deleted file mode 100644
index 606aef78..00000000
--- a/askbot/skins/old/templates/blocks/ask_form.html
+++ /dev/null
@@ -1,46 +0,0 @@
-{% import "macros.html" as macros %}
-<form id="fmask" action="" method="post" >{% csrf_token %}
- <div class="form-item">
- <div id="askFormBar">
- {% if not request.user.is_authenticated() %}
- <p>{% trans %}login to post question info{% endtrans %}</p>
- {% else %}
- {% if settings.EMAIL_VALIDATION %}
- {% if not request.user.email_isvalid %}
- {% trans email=request.user.email %}must have valid {{email}} to post,
- see {{email_validation_faq_url}}
- {% endtrans %}
- {% endif %}
- {% endif %}
- {% endif %}
- <input id="id_title" class="questionTitleInput" name="title" autocomplete="off"
- value="{% if form.initial.title %}{{form.initial.title}}{% endif %}"/>
- <span class="form-error">{{ form.title.errors }}</span>
- </div>
- <div class="title-desc">
- {{ form.title.help_text }}
- </div>
- </div>
- <div id='question-list'></div>
- {{
- macros.edit_post(
- form,
- post_type = 'question',
- edit_title = False,
- mandatory_tags = mandatory_tags
- )
- }}
- {% if not request.user.is_authenticated() %}
- <input type="submit" name="post_anon" value="{% trans %}Login/signup to post your question{% endtrans %}" class="submit" />
- {% else %}
- <input type="submit" name="post" value="{% trans %}Ask your question{% endtrans %}" class="submit" />
- {% endif %}
- <div class="question-options">
- {% if settings.WIKI_ON %}
- {{ macros.checkbox_in_div(form.wiki) }}
- {% endif %}
- {% if settings.ALLOW_ASK_ANONYMOUSLY %}
- {{ macros.checkbox_in_div(form.ask_anonymously) }}
- {% endif %}
- </div>
-</form>