Fix in RAL.
[redakcja.git] / project / templates / explorer / split.html
index 0fb9064..8d3b67b 100755 (executable)
@@ -2,26 +2,25 @@
     <fieldset>\r
         <legend>Split options</legend>\r
         {% for field in splitform %}\r
+        {% if field.is_hidden %}\r
+        {{ field}}\r
+        {% else %}\r
         {{ field.errors }}\r
         {% ifequal field.html_name 'splitform-autoxml' %}\r
         <p><label>{{ field }} {{ field.label }}</label></p>\r
         {% else %}\r
         <p><label>{{ field.label }}: {{ field }}</label></p>\r
         {% endifequal %}\r
-\r
-        {% endfor %}\r
-\r
+        {% endif %}\r
+        {% endfor %}        \r
     </fieldset>\r
 \r
     <fieldset id="split-form-dc-subform" style="display: none;">\r
     <legend>Dublin Core</legend>\r
     {{ dcform.as_p }}\r
     </fieldset>\r
-\r
-    <input type="hidden" name="splittext" />\r
-    <input type="hidden" name="fulltext" />\r
     <p>\r
         <button type="submit" id="split-dialog-button-accept">Split</button>\r
         <button type="button" id="split-dialog-button-close">Close</button>\r
     </p>\r
-</form>
\ No newline at end of file
+</form>\r