Sha256: 7e5e73e7be3085fd166c39b6bb175c3b8eec728af4528213ad1115fbb39e5628

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 Bytes

Contents

module Renalware
  module DropdownButtonHelper
    def dropdown_btn_item(enabled: true, title:, path:)
      content_tag(:li, class: "#{'disabled' unless enabled}") do
        link_to_if(enabled, title, path)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta9 app/helpers/renalware/dropdown_button_helper.rb
renalware-core-2.0.0.pre.beta8 app/helpers/renalware/dropdown_button_helper.rb
renalware-core-2.0.0.pre.beta7 app/helpers/renalware/dropdown_button_helper.rb
renalware-core-2.0.0.pre.beta6 app/helpers/renalware/dropdown_button_helper.rb
renalware-core-2.0.0.pre.beta5 app/helpers/renalware/dropdown_button_helper.rb
renalware-core-2.0.0.pre.beta4 app/helpers/renalware/dropdown_button_helper.rb