Sha256: 9acdaad130849b47fc906c20624c6f2285d1fad124dd12b126d5ad8afb88f70f

Contents?: true

Size: 329 Bytes

Versions: 98

Compression:

Stored size: 329 Bytes

Contents

# frozen_string_literal: true

module Renalware
  module ToggleHelper
    def css_toggle_link_to(row_selector:, link_title: "Toggle")
      link_to link_title,
              "#{row_selector} .css-toggle-container",
              class: "button compact low-key",
              data: { behaviour: "css-toggler" }
    end
  end
end

Version data entries

98 entries across 98 versions & 1 rubygems

Version Path
renalware-core-2.0.36 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.35 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.34 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.33 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.32 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.31 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.30 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.28 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.27 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.26 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.25 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.24 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.23 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.22 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.21 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.20 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.18 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.17 app/helpers/renalware/toggle_helper.rb