Sha256: 9c9e0bed5869ee7fcc6aeecc1551d06a1befa44553fc93052ad72dbdc423fc7c

Contents?: true

Size: 313 Bytes

Versions: 172

Compression:

Stored size: 313 Bytes

Contents

module Avo
  module Resources
    module Controls
      class AttachButton < BaseControl
        def initialize(**args)
          super(**args)

          if args[:item].present?
            @label = I18n.t("avo.attach_item", item: args[:item]) if label.nil?
          end
        end
      end
    end
  end
end

Version data entries

172 entries across 172 versions & 1 rubygems

Version Path
avo-3.18.1.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.18.1 lib/avo/resources/controls/attach_button.rb
avo-3.18.0.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.18.0 lib/avo/resources/controls/attach_button.rb
avo-3.17.9.beta2 lib/avo/resources/controls/attach_button.rb
avo-3.17.9.beta1 lib/avo/resources/controls/attach_button.rb
avo-3.17.9.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.17.9 lib/avo/resources/controls/attach_button.rb
avo-3.17.8.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.17.8 lib/avo/resources/controls/attach_button.rb
avo-3.17.7 lib/avo/resources/controls/attach_button.rb
avo-3.17.6.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.17.6 lib/avo/resources/controls/attach_button.rb
avo-3.17.5 lib/avo/resources/controls/attach_button.rb
avo-3.17.4 lib/avo/resources/controls/attach_button.rb
avo-3.17.3 lib/avo/resources/controls/attach_button.rb
avo-3.17.5.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.17.4.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.17.3.tw4 lib/avo/resources/controls/attach_button.rb
avo-3.17.2.tw4 lib/avo/resources/controls/attach_button.rb