X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/02a98d2af6f1fabf567b575c5f2d818688af1594..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/wiki/templates/wiki/save_dialog.html diff --git a/apps/wiki/templates/wiki/save_dialog.html b/apps/wiki/templates/wiki/save_dialog.html index f49db3f5..b1330455 100644 --- a/apps/wiki/templates/wiki/save_dialog.html +++ b/apps/wiki/templates/wiki/save_dialog.html @@ -1,24 +1,59 @@ -
-

{{ text_save_form.comment.label }}

-

{{text_save_form.comment.help_text}}

- {{ text_save_form.comment }} - +{% load i18n %} +
+
+ {% csrf_token %} +

{{ forms.text_save.comment.label }}

+

+ {{ forms.text_save.comment.help_text}} + +

+ {{forms.text_save.comment }} + + + {% if request.user.is_anonymous %} + + + + + + + + + +
{{ forms.text_save.author_name.label }}:{{ forms.text_save.author_name }} + {{ forms.text_save.author_name.help_text }} +
{{ forms.text_save.author_email.label }}:{{ forms.text_save.author_email }} + {{ forms.text_save.author_email.help_text }} +
+ {% else %}

- {{ text_save_form.author.label }}: - {{ text_save_form.author }} - {{ text_save_form.author.help_text }} + {{ forms.text_save.stage_completed.label }}: + {{ forms.text_save.stage_completed }} + {{ forms.text_save.stage_completed.help_text }} +

- {% else %} + {% if can_pubmark %}

- {{ text_save_form.stage_completed.label }}: - {{ text_save_form.stage_completed }} - {{ text_save_form.stage_completed.help_text }} + {{ forms.text_save.publishable.label_tag }}: + {{ forms.text_save.publishable }} + {{ forms.text_save.publishable.help_text }} +

+ {% endif %} + {% endif %} - + + + {% for f in forms.text_save.hidden_fields %} + {{ f }} + {% endfor %} + +

+

- - -

+ + +

+