Sha256: 7bd77562bef2e5031bddf36e92bacfcff9c2bc7297fbc8152f119926cc4e3ff1

Contents?: true

Size: 252 Bytes

Versions: 18

Compression:

Stored size: 252 Bytes

Contents

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

          @label = I18n.t("avo.detach_item", item: title).humanize
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
avo-2.53.0 lib/avo/resources/controls/detach_button.rb
avo-2.52.0 lib/avo/resources/controls/detach_button.rb
avo-2.49.0 lib/avo/resources/controls/detach_button.rb
avo-2.48.0 lib/avo/resources/controls/detach_button.rb
avo-2.47.0 lib/avo/resources/controls/detach_button.rb
avo-2.46.0 lib/avo/resources/controls/detach_button.rb
avo-2.45.0 lib/avo/resources/controls/detach_button.rb
avo-2.44.0 lib/avo/resources/controls/detach_button.rb
avo-2.43.0 lib/avo/resources/controls/detach_button.rb
avo-2.42.2 lib/avo/resources/controls/detach_button.rb
avo-2.42.1 lib/avo/resources/controls/detach_button.rb
avo-2.42.0 lib/avo/resources/controls/detach_button.rb
avo-2.41.0 lib/avo/resources/controls/detach_button.rb
avo-2.40.0 lib/avo/resources/controls/detach_button.rb
avo-2.39.0 lib/avo/resources/controls/detach_button.rb
avo-2.38.0 lib/avo/resources/controls/detach_button.rb
avo-2.37.2 lib/avo/resources/controls/detach_button.rb
avo-2.37.1 lib/avo/resources/controls/detach_button.rb