CFGroup - Lanuguage

This commit is contained in:
Marc Ducobu 2014-11-08 15:15:31 +01:00
parent 8b71a9e7cf
commit a748fd6693
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ class CustomFieldsGroupType extends AbstractType
}
$builder
->add('name')
->add('name', 'translatable_string')
->add('entity', 'choice', array(
'choices' => $customizableEntites
))

View File

@ -11,7 +11,7 @@
</tr>
<tr>
<th>Name</th>
<td>{{ entity.name }}</td>
<td>{{ entity.getName(app.request.locale) }}</td>
</tr>
<tr>
<th>Entity</th>