<%= f.association :permissions, collection: Cms::Permission.order(:name), as: :check_boxes, label: 'Global Permissions', label_method: lambda { |permission| "#{permission.full_name} (#{permission.description})"}, :input_html => { :class => "check_uncheck" } # Note: Check/uncheck only works once, and was not broken by this refactoring. %>
<%= check_uncheck_tag 'input.check_uncheck' %>