feat(admin): notice about auto numbering of header section
This commit is contained in:
parent
ce175aed00
commit
8156e1cc01
2 changed files with 6 additions and 1 deletions
|
@ -89,7 +89,8 @@
|
|||
color: $light-grey;
|
||||
}
|
||||
|
||||
.conditionnel {
|
||||
.conditionnel,
|
||||
p {
|
||||
color: $white;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,10 @@
|
|||
= form.check_box :mandatory, class: 'small-margin small', id: dom_id(type_de_champ, :mandatory)
|
||||
= form.label :mandatory, "Champ obligatoire", for: dom_id(type_de_champ, :mandatory)
|
||||
= form.text_field :libelle, class: 'small-margin small width-100', id: dom_id(type_de_champ, :libelle), data: input_autofocus
|
||||
- if type_de_champ.header_section?
|
||||
%p
|
||||
%small Nous numérotons automatiquement les titres lorsqu’aucun de vos titres ne commence par un chiffre.
|
||||
|
||||
- if !type_de_champ.header_section? && !type_de_champ.titre_identite?
|
||||
.cell.mt-1
|
||||
= form.label :description, "Description du champ (optionnel)", for: dom_id(type_de_champ, :description)
|
||||
|
|
Loading…
Add table
Reference in a new issue