demarches-normaliennes/app/components/editable_champ/rna_component.rb
2024-08-22 09:26:48 +02:00

11 lines
263 B
Ruby

# frozen_string_literal: true
class EditableChamp::RNAComponent < EditableChamp::EditableChampBaseComponent
def dsfr_input_classname
'fr-input'
end
def update_path
champs_rna_path(@champ.dossier, @champ.stable_id, row_id: @champ.row_id)
end
end