Sha256: 533f82c60e5ae09777bdcb5b1643f7d79b6980da11e033aa370a2ddcbf2a1873

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

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

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