diff options
| -rw-r--r-- | app/views/compliance_control_sets/_filters.html.slim | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/compliance_control_sets/_filters.html.slim b/app/views/compliance_control_sets/_filters.html.slim index b9bfed2be..436d61815 100644 --- a/app/views/compliance_control_sets/_filters.html.slim +++ b/app/views/compliance_control_sets/_filters.html.slim @@ -19,7 +19,7 @@      .form-group.togglable class=filter_item_class(params[:q], :assigned_to_slots)        = f.label ComplianceControlSet.tmf(:assigned_to), required: false, class: 'control-label' -      = f.input :assigned_to_slots, collection: Workgroup.compliance_control_sets_by_workgroup.update(Workgroup.compliance_control_sets_by_workbench).to_a, as: :check_boxes, value_method: :first, label: false, label_method: lambda {|w| ("<span>#{w.last}</span>").html_safe}, required: false, wrapper_html: {class: 'checkbox_list'}, checked: params[:q].try(:[], :assigned_to_slots) +      = f.input :assigned_to_slots, collection: Workgroup.compliance_control_sets_by_workgroup.update(Workgroup.compliance_control_sets_by_workbench).to_a, as: :check_boxes, value_method: :first, label: false, label_method: lambda {|w| ("<span>#{w.last}</span>").html_safe}, required: false, wrapper_html: {class: 'checkbox_list'}, checked: ->(val){params[:q].try(:[], :assigned_to_slots).try(:include?, val.first.to_s)}    .actions      = link_to t('actions.erase'), @compliance_control_set, class: 'btn btn-link' | 
