Sha256: 0b5e2a23bacecc7e29f292450b9113f315449cffce6073d55eed008c214145be

Contents?: true

Size: 317 Bytes

Versions: 3

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::TaxCategories::Edit::Component < SolidusAdmin::TaxCategories::Index::Component
  def initialize(page:, tax_category:)
    @page = page
    @tax_category = tax_category
  end

  def form_id
    dom_id(@tax_category, "#{stimulus_id}_edit_tax_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/tax_categories/edit/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/tax_categories/edit/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/tax_categories/edit/component.rb