From 9002fb349fcffc12d6dfd0fc495a1ae19ef6fc05 Mon Sep 17 00:00:00 2001 From: cedricnjanga Date: Sun, 18 Mar 2018 21:29:51 -0700 Subject: Refs #6240 Fix ComplianceCheckSet#index bug on filters label --- app/views/compliance_check_sets/_filters.html.slim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/compliance_check_sets/_filters.html.slim b/app/views/compliance_check_sets/_filters.html.slim index e413a6cdd..c8ef14ecd 100644 --- a/app/views/compliance_check_sets/_filters.html.slim +++ b/app/views/compliance_check_sets/_filters.html.slim @@ -11,7 +11,7 @@ = f.label t('activerecord.attributes.compliance_check_set.assigned_to'), required: false, class: 'control-label' = f.input :parent_type_eq_any, collection: ComplianceCheckSet.order('parent_type'), as: :check_boxes, label: false, label_method: lambda {|w| ("#{w}").html_safe}, required: false, wrapper_html: {class: 'checkbox_list'} .form-group.togglable class=filter_item_class(params[:q], :created_at) - = f.label Import.human_attribute_name(:created_at), required: false, class: 'control-label' + = f.label ComplianceCheckSet.human_attribute_name(:created_at), required: false, class: 'control-label' .filter_menu = f.simple_fields_for :created_at do |p| = p.input :start_date, as: :date, label: false, wrapper_html: {class: 'date smart_date filter_menu-item'}, default: @begin_range, include_blank: @begin_range ? false : true -- cgit v1.2.3