X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f31bb368a2cad9a61e4fc652fa4b40c4114a128c..4a8343e204c222e72e4ad7b6fef2e192cc559ac8:/project/templates/explorer/split.html

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