diff options
| author | cedricnjanga | 2018-03-02 08:31:25 -0800 | 
|---|---|---|
| committer | cedricnjanga | 2018-03-02 08:31:25 -0800 | 
| commit | 76ef38d1fb02eca90fe8097b6416fcae731ea7b0 (patch) | |
| tree | ae5e4d36465bbe4f3879195ef26d31de1a760518 /app/views/workbenches | |
| parent | 3887b07104aac0e7aaa8263bc1d6564eeae0edc4 (diff) | |
| download | chouette-core-76ef38d1fb02eca90fe8097b6416fcae731ea7b0.tar.bz2 | |
Refs #3562 Take review into account and clean a little bit
Diffstat (limited to 'app/views/workbenches')
| -rw-r--r-- | app/views/workbenches/_form.html.slim | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/workbenches/_form.html.slim b/app/views/workbenches/_form.html.slim index 5ee17dc17..534a5f378 100644 --- a/app/views/workbenches/_form.html.slim +++ b/app/views/workbenches/_form.html.slim @@ -1,8 +1,8 @@  = simple_form_for @workbench, html: { class: 'form-horizontal', id: 'workbench_form' }, wrapper: :horizontal_form do |f|    .row      .col-lg-12 -      = f.input :import_compliance_control_set_id, as: :select, collection: ComplianceControlSet.where(organisation: current_organisation), value_method: lambda {|t| t.id} -      = f.input :merge_compliance_control_set_id, as: :select, collection: ComplianceControlSet.where(organisation: current_organisation), value_method: lambda {|t| t.id} +      = f.input :import_compliance_control_set_id, as: :select, collection: current_organisation.compliance_control_sets, value_method: :id +      = f.input :merge_compliance_control_set_id, as: :select, collection: current_organisation.compliance_control_sets, value_method: :id    .separator  | 
