[%# views/entry/options.tt Page to edit options for the post entry page Authors: Afuna Copyright (c) 2011-2014 by Dreamwidth Studios, LLC. This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself. For a copy of the license, please reference 'perldoc perlartistic' or 'perldoc perlgpl'. %] [%- sections.windowtitle = ".title" | ml -%] [%- CALL dw.active_resource_group( "foundation" ) -%] [%- dw.need_res( "stc/css/pages/entry/options.css" ) -%] [%- dw.need_res( { group => "fragment" }, "stc/css/pages/entry/options.css", "js/pages/entry/options.js" ) -%]
[%- IF use_js && errors.exist -%]
[%- INCLUDE components/errors.tt errors = errors -%]
[%- END -%] [% dw.form_auth %]
[%sections.windowtitle%]
[% '.width.header' | ml %] [%- form.radio_nested( label = dw.ml( '.width.label.full' ) name = 'entry_field_width' value = 'F' ) -%] [%- form.radio_nested( label = dw.ml( '.width.label.partial' ) name = 'entry_field_width' value = 'P' ) -%]

[% '.width.note' | ml %]

[% '.panels.header' | ml %] [%- IF panels.size > 0 -%]
[%- FOREACH panel IN panels -%] [% form.checkbox_nested( label = dw.ml( panel.label_ml ) name = panel.name value = panel.panel_name ) %] [%- END -%]
[%- IF use_js -%]

Scroll down to arrange panels to your preference

[%- END -%] [%- END -%]
[% '.panels.reset.header' | ml %] [%- form.checkbox_nested( label = dw.ml( '.panels.reset.label' ) name = "reset_panels" value = "1" ) -%]
[% '.animations.header' | ml %] [%- animations_label = '.animations.label' | ml; form.checkbox_nested( label = animations_label id = 'js-minimal-animations' name = 'minimal_animations' value = '1' ) -%]
[% form.submit( value = dw.ml( ".submit" ) ) %]
[%- UNLESS use_js -%] [%- INCLUDE "components/icon-link-decorative.tt" link = { url = "$site.root/entry/new" } icon = "arrow-left" text = dw.ml( ".back" ) -%] [%- END -%]