71c999bf157b65b6ab662edbabd5a6b1dde6b2bf
[redakcja.git] / apps / wiki / templates / wiki / save_dialog.html
1 {% load i18n %}
2 <div id="save_dialog" class="dialog" data-ui-jsclass="SaveDialog">
3         <form method="POST" action="">
4         <p>{{ forms.text_save.comment.label }}</p>
5         <p class="help_text">
6                 {{ forms.text_save.comment.help_text}}
7                 <span data-ui-error-for="{{ forms.text_save.comment.name }}"> </span>
8         </p>
9         {{forms.text_save.comment }}
10
11
12
13         {% if request.user.is_anonymous %}
14         <p>
15                 {{ forms.text_save.author.label }}:
16                 {{ forms.text_save.author }}
17                 <span class="help_text">{{ forms.text_save.author.help_text }}</span>
18                 <span data-ui-error-for="{{ forms.text_save.author.name }}"> </span>
19         </p>
20         {% else %}
21         <p>
22                 {{ forms.text_save.stage_completed.label }}:
23                 {{ forms.text_save.stage_completed }}
24                 <span class="help_text">{{ forms.text_save.stage_completed.help_text }}</span>
25                 <span data-ui-error-for="{{ forms.text_save.stage_completed.name }}"> </span>
26         </p>
27         {% endif %}
28
29
30         {% for f in forms.text_save.hidden_fields %}
31                 {{ f }}
32         {% endfor %}
33
34         <p data-ui-error-for="__all__"> </p>
35
36         <p class="action_area">
37                 <button type="submit" class"ok" data-ui-action="save">Zapisz</button>
38                 <button type="button" class="cancel" data-ui-action="cancel">Anuluj</button>
39         </p>
40         </form>
41 </div>