X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/d0f0e1412cc42d366b234e798dfb68feed05d751..d555d988764995ea1f9f5ece46f453a66f09b334:/src/forum/templates/pybb/post_form.html diff --git a/src/forum/templates/pybb/post_form.html b/src/forum/templates/pybb/post_form.html new file mode 100644 index 0000000..5db31a4 --- /dev/null +++ b/src/forum/templates/pybb/post_form.html @@ -0,0 +1,36 @@ +{% load url from future %} +{% load i18n pybb_tags %} +
+ {% csrf_token %} +
+ {% include "pybb/form_errors.html" %} + {% if form.name %} {% include "pybb/form_field.html" with field=form.name %} {% endif %} + + {% if lesson_editable %} + {% include "pybb/form_field.html" with field=form.lesson %} + {% endif %} + + {% if form.login %} {% include "pybb/form_field.html" with field=form.login %} {% endif %} + {% if form.body %} {% include "pybb/form_field.html" with field=form.body %} {% endif %} +
+ {% for smile, url in form.available_smiles.items %} + + {% endfor %} +
+ + {% if form.poll_type and request.user.is_superuser %} + {% include "pybb/poll_edit_form.html" %} + {% endif %} + {% include "pybb/attachments_formset.html" %} +

{% include "pybb/_button_submit.html" %}

+
+