add question

This commit is contained in:
erichhasl
2017-11-19 00:52:13 +01:00
parent 75903f8ed6
commit 7e98dba2d2
6 changed files with 66 additions and 3 deletions
@@ -14,4 +14,11 @@ kandidieren?</p>
<li><a href="{% url "meingoethopia:praesident_werden" %}">Als Präsidentin aufstellen lassen</a></li>
</ul>
<p>Hast du eine Frage, die hier nicht beantwortet wird?<br>
Stell sie doch einfach! Unser Team ist gerne für dich da.<p>
<ul class="meinlinks">
<li><a href="{% url "meingoethopia:question_new" %}">Frage stellen</a></li>
</ul>
{% endblock %}
@@ -0,0 +1,14 @@
{% extends "public/default.html" %}
{% block content %}
<p>Hier kannst Du eine Frage stellen. Vielleicht taucht sie ja bald im neuen FAQ auf!</p>
<form action="" method="post">
{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Frage abschicken" />
</form>
{% endblock %}