Sha256: 48ea5f0ba4a3dada73d949f97ed15e1939f35041a7c0c88ee3b1cf9eb68a6782
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true class SolidusAdmin::StockItems::Edit::Component < SolidusAdmin::BaseComponent def initialize(stock_item:, page:) @stock_item = stock_item @page = page end def title [ "#{Spree::StockLocation.model_name.human}: #{@stock_item.stock_location.name}", ].join(' / ') end def form_id "#{stimulus_id}-#{dom_id(@stock_item)}" end end
Version data entries
3 entries across 3 versions & 1 rubygems