Ticket #957: using localStorage for recently used symbols
[redakcja.git] / apps / wiki / templates / wiki / save_dialog.html
index 3003991..b2f53ba 100644 (file)
@@ -1,5 +1,6 @@
+{% load i18n %}
 <div id="save_dialog" class="dialog" data-ui-jsclass="SaveDialog">
 <div id="save_dialog" class="dialog" data-ui-jsclass="SaveDialog">
-       <form method="POST" action="#">
+       <form method="POST" action="">
        <p>{{ forms.text_save.comment.label }}</p>
        <p class="help_text">
                {{ forms.text_save.comment.help_text}}
        <p>{{ forms.text_save.comment.label }}</p>
        <p class="help_text">
                {{ forms.text_save.comment.help_text}}
 
 
        {% if request.user.is_anonymous %}
 
 
        {% if request.user.is_anonymous %}
-       <p>
-               {{ forms.text_save.author.label }}:
-               {{ forms.text_save.author }}
-               <span class="help_text">{{ forms.text_save.author.help_text }}</span>
-               <span data-ui-error-for="{{ forms.text_save.author.name }}"> </span>
-       </p>
+    <table style='margin:0 4%;'>
+    <tr>
+        <td>{{ forms.text_save.author_name.label }}:</td>
+        <td>{{ forms.text_save.author_name }}
+        <span class="help_text">{{ forms.text_save.author_name.help_text }}</span>
+        <span data-ui-error-for="{{ forms.text_save.author_name.name }}"> </span></td>
+    </tr>
+    <tr>
+        <td>{{ forms.text_save.author_email.label }}:</td>
+        <td>{{ forms.text_save.author_email }}
+        <span class="help_text">{{ forms.text_save.author_email.help_text }}</span>
+        <span data-ui-error-for="{{ forms.text_save.author_email.name }}"> </span></td>
+    </tr>
+    </table>
        {% else %}
        <p>
                {{ forms.text_save.stage_completed.label }}:
        {% else %}
        <p>
                {{ forms.text_save.stage_completed.label }}: