Sha256: d36c05fa4136597a777187fd72c02972045f17312cdf57c4f18ad29f9fd0a9e3

Contents?: true

Size: 339 Bytes

Versions: 3

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::StoreCreditReasons::Edit::Component < SolidusAdmin::BaseComponent
  def initialize(page:, store_credit_reason:)
    @page = page
    @store_credit_reason = store_credit_reason
  end

  def form_id
    dom_id(@store_credit_reason, "#{stimulus_id}_edit_store_credit_reason_form")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 app/components/solidus_admin/store_credit_reasons/edit/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/store_credit_reasons/edit/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/store_credit_reasons/edit/component.rb