Sha256: 49e4a09519d100cbe186c62485a55da70a7a5f0da7705021bc26a1405efc934d

Contents?: true

Size: 302 Bytes

Versions: 3

Compression:

Stored size: 302 Bytes

Contents

# frozen_string_literal: true

class SolidusAdmin::ReturnReasons::New::Component < SolidusAdmin::BaseComponent
  def initialize(page:, return_reason:)
    @page = page
    @return_reason = return_reason
  end

  def form_id
    dom_id(@return_reason, "#{stimulus_id}_new_return_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/return_reasons/new/component.rb
solidus_admin-0.3.1 app/components/solidus_admin/return_reasons/new/component.rb
solidus_admin-0.3.0 app/components/solidus_admin/return_reasons/new/component.rb