Sha256: 4636544d1704140b768011bfd2cba1fcca49dd396f20b4c3077f9eb36c7d0627

Contents?: true

Size: 402 Bytes

Versions: 6

Compression:

Stored size: 402 Bytes

Contents

# frozen_string_literal: true

module UiBibz::Ui::Core::Forms::Surrounds
  class SurroundButton < UiBibz::Ui::Core::Forms::Buttons::Button
    # 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_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.rb
ui_bibz-2.5.5 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb
ui_bibz-2.5.3 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb
ui_bibz-2.5.2 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb
ui_bibz-2.5.1 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb
ui_bibz-2.5.0 lib/ui_bibz/ui/core/forms/surrounds/components/surround_button.rb