Fixes #3866: Text counter with footnotes.
[redakcja.git] / src / 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     {% csrf_token %}
5         <p>{{ forms.text_save.comment.label }}</p>
6         <p class="help_text">
7                 {{ forms.text_save.comment.help_text}}
8                 <span data-ui-error-for="{{ forms.text_save.comment.name }}"> </span>
9         </p>
10         {{forms.text_save.comment }}
11
12
13
14         {% if request.user.is_anonymous %}
15     <table style='margin:0 4%;'>
16     <tr>
17         <td>{{ forms.text_save.author_name.label }}:</td>
18         <td>{{ forms.text_save.author_name }}
19         <span class="help_text">{{ forms.text_save.author_name.help_text }}</span>
20         <span data-ui-error-for="{{ forms.text_save.author_name.name }}"> </span></td>
21     </tr>
22     <tr>
23         <td>{{ forms.text_save.author_email.label }}:</td>
24         <td>{{ forms.text_save.author_email }}
25         <span class="help_text">{{ forms.text_save.author_email.help_text }}</span>
26         <span data-ui-error-for="{{ forms.text_save.author_email.name }}"> </span></td>
27     </tr>
28     </table>
29         {% else %}
30         <p>
31                 {{ forms.text_save.stage_completed.label }}:
32                 {{ forms.text_save.stage_completed }}
33                 <span class="help_text">{{ forms.text_save.stage_completed.help_text }}</span>
34                 <span data-ui-error-for="{{ forms.text_save.stage_completed.name }}"> </span>
35         </p>
36     {% if can_pubmark %}
37         <p>
38                 {{ forms.text_save.publishable.label_tag }}:
39                 {{ forms.text_save.publishable }}
40                 <span class="help_text">{{ forms.text_save.publishable.help_text }}</span>
41                 <span data-ui-error-for="{{ forms.text_save.publishable.name }}"> </span>
42         </p>
43     {% endif %}
44
45         {% endif %}
46
47
48         {% for f in forms.text_save.hidden_fields %}
49                 {{ f }}
50         {% endfor %}
51
52         <p data-ui-error-for="__all__"> </p>
53
54         <p class="action_area">
55                 <button type="submit" class="ok" data-ui-action="save">Zapisz</button>
56                 <button type="button" class="cancel" data-ui-action="cancel">Anuluj</button>
57         </p>
58         </form>
59 </div>