lib/zen/package/sections/lib/sections/view/admin/sections/form.xhtml in zen-0.4 vs lib/zen/package/sections/lib/sections/view/admin/sections/form.xhtml in zen-0.4.1
- old
+ new
@@ -35,11 +35,11 @@
:'data-autosave-url' => Sections::Controller::Sections.r(:autosave)
) do |f|
f.input_hidden(:id , @section.id)
f.input_hidden(:csrf_token, get_csrf_token)
- f.g.div(:id => 'general') do
+ f.g.div(:id => 'general', :class => :tab_field) do
f.input_text(
lang('sections.labels.name'),
:name,
:required => :required,
:maxlength => 255
@@ -56,11 +56,11 @@
:description,
:rows => 10
)
end # f.g.div(:id => 'general')
- f.g.div(:id => 'comments') do
+ f.g.div(:id => 'comments', :class => :tab_field) do
f.input_radio(
lang('sections.labels.comment_allow'),
:comment_allow,
@section.comment_allow,
:values => @boolean_hash.invert,
@@ -91,10 +91,10 @@
:size => 1,
:required => :required
)
end # f.g.div(:id => 'comments')
- f.g.div(:id => 'groups') do
+ f.g.div(:id => 'groups', :class => :tab_field) do
f.input_checkbox(
lang('sections.labels.custom_field_groups'),
:custom_field_group_pks,
@section.custom_field_group_pks,
:values => @custom_field_group_pk_hash,