remove drop_down_list_value reader
This commit is contained in:
parent
483076970c
commit
5a19cc1a09
3 changed files with 8 additions and 12 deletions
|
@ -72,7 +72,11 @@
|
|||
.flex.column.justify-start.width-33
|
||||
.cell
|
||||
= form.label :drop_down_list_value, "Options de la liste", for: dom_id(type_de_champ, :drop_down_list_value)
|
||||
= form.text_area :drop_down_list_value, class: 'fr-input small-margin small width-100', rows: 7, id: dom_id(type_de_champ, :drop_down_list_value)
|
||||
= form.text_area :drop_down_list_value,
|
||||
value: type_de_champ.drop_down_options.join("\r\n"),
|
||||
class: 'fr-input small-margin small width-100',
|
||||
rows: 7,
|
||||
id: dom_id(type_de_champ, :drop_down_list_value)
|
||||
- if type_de_champ.simple_drop_down_list?
|
||||
.cell
|
||||
= form.label :drop_down_other, for: dom_id(type_de_champ, :drop_down_other) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue