diff options
| author | Robert | 2017-10-31 18:29:12 +0100 | 
|---|---|---|
| committer | Xinhui | 2017-11-03 12:26:42 +0100 | 
| commit | fb968eb1a31dab07b8b3263cf15d65c1a5c83298 (patch) | |
| tree | 5e3577a7d8c69f8cbc93ede730d00404b3cd6b24 /app/views | |
| parent | 64a1495e8368c3a7f406a2afc531fceea299c537 (diff) | |
| download | chouette-core-fb968eb1a31dab07b8b3263cf15d65c1a5c83298.tar.bz2 | |
Refs: #4774@0.1h; CodeReview putting Business Logic of @indirect_compliance_controls into controller
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/compliance_control_sets/show.html.slim | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/app/views/compliance_control_sets/show.html.slim b/app/views/compliance_control_sets/show.html.slim index db0ed64ea..294df6a53 100644 --- a/app/views/compliance_control_sets/show.html.slim +++ b/app/views/compliance_control_sets/show.html.slim @@ -33,13 +33,12 @@        .col-lg-12          h2            = transport_mode("", "") -      - direct_controls = @compliance_controls.delete nil -      - if direct_controls.try(:any?) +      - if @indirect_compliance_controls.try(:any?)          .row            .col-lg-12              .select_table -              = table_builder_2 direct_controls, +              = table_builder_2 @indirect_compliance_controls,                        [ \                    TableBuilderHelper::Column.new( \                      key: :code, \ | 
