Sha256: c8f2163174d565700d8ab389dbdd37c08ac9d2eddc71baf1a4367c8fe601863c

Contents?: true

Size: 352 Bytes

Versions: 3

Compression:

Stored size: 352 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::ShippingCategories::Edit::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}_edit_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/edit/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/shipping_categories/edit/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/shipping_categories/edit/component.rb