mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 14:36:13 +00:00
CFGroup - Lanuguage
This commit is contained in:
parent
8b71a9e7cf
commit
a748fd6693
@ -39,7 +39,7 @@ class CustomFieldsGroupType extends AbstractType
|
||||
}
|
||||
|
||||
$builder
|
||||
->add('name')
|
||||
->add('name', 'translatable_string')
|
||||
->add('entity', 'choice', array(
|
||||
'choices' => $customizableEntites
|
||||
))
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user