insert_tag - inserts only end tag, when no text selected - fixed.
[redakcja.git] / project / templates / explorer / split.html
1 <form action="{% url explorer.views.split_text fileid %}" method="POST">\r
2     <fieldset>\r
3         <legend>Split options</legend>\r
4         {% for field in splitform %}\r
5         {% if field.is_hidden %}\r
6         {{ field}}\r
7         {% else %}\r
8         {{ field.errors }}\r
9         {% ifequal field.html_name 'splitform-autoxml' %}\r
10         <p><label>{{ field }} {{ field.label }}</label></p>\r
11         {% else %}\r
12         <p><label>{{ field.label }}: {{ field }}</label></p>\r
13         {% endifequal %}\r
14         {% endif %}\r
15         {% endfor %}        \r
16     </fieldset>\r
17 \r
18     <fieldset id="split-form-dc-subform" style="display: none;">\r
19     <legend>Dublin Core</legend>\r
20     {{ dcform.as_p }}\r
21     </fieldset>    \r
22     <p>\r
23         <button type="submit" id="split-dialog-button-accept">Split</button>\r
24         <button type="button" id="split-dialog-button-close">Close</button>\r
25     </p>\r
26 </form>\r