aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/compliance_control_sets_helper.rb4
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