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