Sha256: 84e8ff152ae9768a68db2b8dcd00faa8f0ba2f3d8774b5274bccd66bf3d170c1
Contents?: true
Size: 385 Bytes
Versions: 17
Compression:
Stored size: 385 Bytes
Contents
module Avo module Resources module Controls class EditButton < BaseControl def initialize(**args) super(**args) @label = args[:label] || I18n.t("avo.edit").capitalize if args[:item].present? @title = I18n.t("avo.edit_item", item: args[:item]).capitalize if title.nil? end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems