Sha256: 8d53806f21c0b2f6bb243af1dbd0bea73e7175f759f74bb80debd7047ddc3ed1

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::ShippingCategories::New::Component < SolidusAdmin::ShippingCategories::Index::Component
  def initialize(page:, shipping_category:)
    @page = page
    @shipping_category = shipping_category
  end

  def form_id
    dom_id(@shipping_category, "#{stimulus_id}_new_shipping_category_form")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/shipping_categories/new/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/shipping_categories/new/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/shipping_categories/new/component.rb