aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2018-03-19 09:21:57 +0100
committerGitHub2018-03-19 09:21:57 +0100
commit9cb93b30946174e46ea6cb80be7ea8a8b61d0776 (patch)
tree9f97f40ac172cc1c5a1014a9e7ca39345969cda1
parent170cf2867651e6e18e4bb1782670b2f3b089b271 (diff)
parent9002fb349fcffc12d6dfd0fc495a1ae19ef6fc05 (diff)
downloadchouette-core-9cb93b30946174e46ea6cb80be7ea8a8b61d0776.tar.bz2
Merge pull request #392 from af83/6240-fix-compliance-check-set-index-bug
Refs #6240 Fix ComplianceCheckSet#index bug on filters label
-rw-r--r--app/views/compliance_check_sets/_filters.html.slim2
1 files changed, 1 insertions, 1 deletions
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| ("<span>#{w}</span>").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