Sha256: 4de6cd1b6514d11ccd45a1f9a65d423ae6ec8cbdac5b206b5043d760914c9a8b

Contents?: true

Size: 415 Bytes

Versions: 6

Compression:

Stored size: 415 Bytes

Contents

# frozen_string_literal: true

module UiBibz::Ui::Core::Forms::Surrounds
  class SurroundButtonLink < UiBibz::Ui::Core::Forms::Buttons::ButtonLink
    # See UiBibz::Ui::Core::Dropdown.initialize
    def initialize(content, options = nil, html_options = nil, &block)
      super
    end

    def pre_render
      content_tag :div, class: 'input-group-btn' do
        button_link_html_tag
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ui_bibz-2.5.6 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb
ui_bibz-2.5.5 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb
ui_bibz-2.5.3 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb
ui_bibz-2.5.2 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb
ui_bibz-2.5.1 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb
ui_bibz-2.5.0 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button_link.rb