demarches-normaliennes/app/components/editable_champ/rna_component.rb

12 lines
263 B
Ruby
Raw Normal View History

# frozen_string_literal: true
2022-09-21 15:18:23 +02:00
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
2022-09-21 15:18:23 +02:00
end