diff --git a/app/helpers/events_pbs_helper.rb b/app/helpers/events_pbs_helper.rb index 5b22a966f..3b59024c0 100644 --- a/app/helpers/events_pbs_helper.rb +++ b/app/helpers/events_pbs_helper.rb @@ -220,7 +220,7 @@ def labeled_checkpoint_checkbox(f, attr) html_options[:disabled] = 'disabled' html_options[:title] = t('event/camp.checkpoint_field_caption') end - f.boolean_field(attr, html_options) + f.boolean_field(attr, html_options) + f.render_help_text(attr) end def campy_al_caption(entry, short_version = false) diff --git a/app/views/events/_fields_pbs.html.haml b/app/views/events/_fields_pbs.html.haml index 4dad1a3eb..8b3f0afd4 100644 --- a/app/views/events/_fields_pbs.html.haml +++ b/app/views/events/_fields_pbs.html.haml @@ -32,9 +32,11 @@ :j_s_security_mountain, :j_s_security_water) - if j_s_security_attrs.present? - = f.labeled(:j_s_security) do + = f.labeled(:j_s_security, nil, nil, style: "padding-top: 5px") do - j_s_security_attrs.each do |attr| - = f.boolean_field(attr, { caption: Event.human_attribute_name(attr) }) + %div + = f.boolean_field(attr, { caption: Event.human_attribute_name(attr) }) + = f.render_help_text(attr) = render 'expected_participants_fields', f: f