Sha256: cb60acc65db44c70f9b99ba61217cc9998cafe5e1cb3e22d88eec4fcc96dfa22
Contents?: true
Size: 447 Bytes
Versions: 17
Compression:
Stored size: 447 Bytes
Contents
module Avo module Resources module Controls class DetachButton < BaseControl def initialize(**args) super(**args) if args[:item].present? @title = I18n.t("avo.detach_item", item: args[:item]).capitalize if title.nil? @confirmation_message = I18n.t("avo.are_you_sure_detach_item", item: args[:item]) if confirmation_message.nil? end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems