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.57 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.56 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.55 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.54 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.53 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.52 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.51 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.50 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.48 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.47 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.46 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.45 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.44 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.43 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.42 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.41 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.40 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.39 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.38 app/helpers/renalware/toggle_helper.rb
renalware-core-2.0.37 app/helpers/renalware/toggle_helper.rb