refactor(type de champ): rename routable_types in simple_routable_types

This commit is contained in:
Eric Leroy-Terquem 2024-07-11 11:46:35 +02:00
parent 52d8f8ed00
commit 60ff785009
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605
6 changed files with 10 additions and 10 deletions

View file

@ -15,7 +15,7 @@
%div{ data: { 'action': "click->enable-submit-if-checked#click" } }
.notice
Sélectionner le champ à partir duquel créer des groupes dinstructeurs
- buttons_content = @procedure.active_revision.routable_types_de_champ.map { |tdc| { label: tdc.libelle, value: tdc.stable_id } }
- buttons_content = @procedure.active_revision.simple_routable_types_de_champ.map { |tdc| { label: tdc.libelle, value: tdc.stable_id } }
= render Dsfr::RadioButtonListComponent.new(form: f,
target: :stable_id,
buttons: buttons_content)