diff --git a/app/views/admin/banners/_form.html.erb b/app/views/admin/banners/_form.html.erb index c1cb047e4..70e55079e 100644 --- a/app/views/admin/banners/_form.html.erb +++ b/app/views/admin/banners/_form.html.erb @@ -34,14 +34,14 @@
-
- <%= f.label :sections, t("admin.banners.banner.sections_label") %> +
+ <%= t("admin.banners.banner.sections_label") %> <%= f.collection_check_boxes(:web_section_ids, @banner_sections, :id, :name) do |b| %> <%= b.label do %> <%= b.check_box + t("admin.banners.banner.sections.#{b.text}") %> <% end %> <% end %> -
+