diff options
| author | Robert | 2017-12-06 18:55:00 +0100 |
|---|---|---|
| committer | Robert | 2017-12-11 10:18:36 +0100 |
| commit | baf59d9eebd7e606c57e8d0aec9d91d7ded115ed (patch) | |
| tree | ea9fcf755a55ed94462f42dc50958f99d09dacbf /app/helpers | |
| parent | 00a208fcab9686c656ba731f039f1321ebc2401c (diff) | |
| download | chouette-core-baf59d9eebd7e606c57e8d0aec9d91d7ded115ed.tar.bz2 | |
Refs: #5197@0.25h; Minor Approvements
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/compliance_control_sets_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/compliance_control_sets_helper.rb b/app/helpers/compliance_control_sets_helper.rb index 04dfe1f51..a8d2f79d3 100644 --- a/app/helpers/compliance_control_sets_helper.rb +++ b/app/helpers/compliance_control_sets_helper.rb @@ -4,10 +4,10 @@ module ComplianceControlSetsHelper [current_organisation, Organisation.find_by_name("STIF")].uniq end - def floated_links ccs_id + def floating_links ccs_id links = [new_control(ccs_id), new_block(ccs_id)] if links.any? - content_tag :div, class: 'select_toolbox' do + content_tag :div, class: 'select_toolbox', id: 'floating-links' do content_tag :ul do links.collect {|link| concat content_tag(:li, link, class: 'st_action with_text') if link} end |
