update editor
[redakcja.git] / apps / wiki / templates / wiki / revert_dialog.html
1 {% load i18n %}
2 <div id="revert_dialog" class="dialog" data-ui-jsclass="RevertDialog">
3         <form method="POST" action="">
4     {% csrf_token %}
5         <p>{{ forms.text_revert.comment.label }}</p>
6         <p class="help_text">
7                 {{ forms.text_revert.comment.help_text}}
8                 <span data-ui-error-for="{{ forms.text_revert.comment.name }}"> </span>
9         </p>
10         {{forms.text_revert.comment }}
11
12
13
14         {% if request.user.is_anonymous %}
15     <table style='margin:0 4%;'>
16     <tr>
17         <td>{{ forms.text_revert.author_name.label }}:</td>
18         <td>{{ forms.text_revert.author_name }}
19         <span class="help_text">{{ forms.text_revert.author_name.help_text }}</span>
20         <span data-ui-error-for="{{ forms.text_revert.author_name.name }}"> </span></td>
21     </tr>
22     <tr>
23         <td>{{ forms.text_revert.author_email.label }}:</td>
24         <td>{{ forms.text_revert.author_email }}
25         <span class="help_text">{{ forms.text_revert.author_email.help_text }}</span>
26         <span data-ui-error-for="{{ forms.text_revert.author_email.name }}"> </span></td>
27     </tr>
28     </table>
29         {% endif %}
30
31
32         {% for f in forms.text_revert.hidden_fields %}
33                 {{ f }}
34         {% endfor %}
35
36         <p data-ui-error-for="__all__"> </p>
37
38         <p class="action_area">
39                 <button type="submit" class"ok" data-ui-action="revert">{% trans "Revert" %}</button>
40                 <button type="button" class="cancel" data-ui-action="cancel">{% trans "Cancel" %}</button>
41         </p>
42         </form>
43 </div>