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.123 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.121 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.120 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.119 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.118 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.117 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.116 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.115 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.113 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.112 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.111 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.110 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.109 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.108 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.106 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.105 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.104 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.103 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.102 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.101 app/helpers/renalware/toggle_helper.rb