Explication: add field and template

This commit is contained in:
Simon Lehericey 2017-03-13 15:02:05 +01:00
parent ec0092fb3c
commit 176092c256
3 changed files with 6 additions and 2 deletions

View file

@ -41,6 +41,8 @@
- elsif champ.type_champ == 'departements'
= render partial: 'users/description/champs/departements', locals: { champ: champ }
- elsif champ.type_champ == 'explication'
- else
%input.form-control{name:"champs['#{ champ.id }']",
placeholder: champ.libelle,