Add type de champs email and phone
This commit is contained in:
parent
9ac95345c1
commit
3513b16888
4 changed files with 63 additions and 1 deletions
|
@ -46,7 +46,7 @@
|
|||
placeholder: champ.libelle,
|
||||
id: "champs_#{champ.id}",
|
||||
value: champ.value,
|
||||
type:"#{champ.type_champ}",
|
||||
type: champ.type_champ,
|
||||
'data-provide' => ('datepicker' if champ.type_champ == 'datetime'),
|
||||
'data-date-format' => ('dd/mm/yyyy' if champ.type_champ == 'datetime')}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue