2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2022-09-08 11:25:39 +02:00
|
|
|
class EditableChamp::SiretComponent < EditableChamp::EditableChampBaseComponent
|
2023-08-21 16:18:31 +02:00
|
|
|
def dsfr_input_classname
|
|
|
|
'fr-input'
|
2024-04-22 10:47:47 +02:00
|
|
|
end
|
2024-04-09 17:36:40 +02:00
|
|
|
|
|
|
|
def hint_id
|
|
|
|
dom_id(@champ, :siret_info)
|
|
|
|
end
|
|
|
|
|
|
|
|
def hintable?
|
|
|
|
true
|
|
|
|
end
|
2024-04-22 10:47:47 +02:00
|
|
|
|
|
|
|
def update_path
|
2024-03-28 12:42:29 +01:00
|
|
|
champs_siret_path(@champ.dossier, @champ.stable_id, row_id: @champ.row_id)
|
2024-04-22 10:47:47 +02:00
|
|
|
end
|
2022-08-12 10:45:04 +02:00
|
|
|
end
|