X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/970685936cdd7b70e3efa2f2506f66198049b16d..4ed56f84dedf9da88708fc2c4aef3b0b11f30825:/project/templates/explorer/split.html diff --git a/project/templates/explorer/split.html b/project/templates/explorer/split.html index 0fb9064e..8d3b67bb 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" /> <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>