create type select2_choice and apply select2 only on those fields

This commit is contained in:
2014-11-13 16:57:13 +01:00
parent 3e8843dc61
commit 7b7cdeba21
3 changed files with 55 additions and 1 deletions

View File

@@ -25,3 +25,8 @@ services:
- "%locale%"
tags:
- { name: form.type, alias: translatable_string }
chill.main.form.type.select2choice:
class: Chill\MainBundle\Form\Type\Select2ChoiceType
tags:
- {name: form.type, alias: select2_choice}