translation of countries in form refs #317

This commit is contained in:
2014-11-17 00:32:52 +01:00
parent bf52c347ee
commit 234a3c9a5f
2 changed files with 24 additions and 1 deletions

View File

@@ -25,6 +25,10 @@ services:
- "%locale%"
tags:
- { name: form.type, alias: translatable_string }
chill.main.helper.translatable_string:
class: Chill\MainBundle\Templating\TranslatableStringHelper
arguments:
- "@request_stack"
chill.main.form.type.select2choice:
class: Chill\MainBundle\Form\Type\Select2ChoiceType
@@ -38,5 +42,7 @@ services:
chill.main.form.type.select2country:
class: Chill\MainBundle\Form\Type\Select2CountryType
arguments:
- "@request_stack"
tags:
- { name: form.type, alias: select2_chill_country }