mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-01 22:46:13 +00:00
CFGroup - Lanuguage
This commit is contained in:
parent
8b71a9e7cf
commit
a748fd6693
@ -39,7 +39,7 @@ class CustomFieldsGroupType extends AbstractType
|
|||||||
}
|
}
|
||||||
|
|
||||||
$builder
|
$builder
|
||||||
->add('name')
|
->add('name', 'translatable_string')
|
||||||
->add('entity', 'choice', array(
|
->add('entity', 'choice', array(
|
||||||
'choices' => $customizableEntites
|
'choices' => $customizableEntites
|
||||||
))
|
))
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Name</th>
|
<th>Name</th>
|
||||||
<td>{{ entity.name }}</td>
|
<td>{{ entity.getName(app.request.locale) }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Entity</th>
|
<th>Entity</th>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user