Sha256: 14e6ee5e37ed6c199b8f8a6402f84afbb1af714b4c42c1fd2022c0ace8448414

Contents?: true

Size: 315 Bytes

Versions: 3

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::TaxCategories::New::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}_new_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/new/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/tax_categories/new/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/tax_categories/new/component.rb