Add type de champ checkbox (boolean)

This commit is contained in:
Xavier J 2016-02-18 15:36:09 +01:00
parent 20a41ef172
commit 850f4366c8
5 changed files with 37 additions and 17 deletions

View file

@ -2,7 +2,8 @@ class TypeDeChamp < ActiveRecord::Base
enum type_champs: {text: 'text',
textarea: 'textarea',
datetime: 'datetime',
number: 'number'
number: 'number',
checkbox: 'checkbox'
}
belongs_to :procedure