mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
Formating CF Form
This commit is contained in:
parent
bd96f36463
commit
cac299368a
@ -44,6 +44,7 @@ class CustomFieldTitle implements CustomFieldInterface
|
||||
$builder->add($customField->getSlug(), 'custom_field_title', array(
|
||||
'label' => false,
|
||||
'attr' => array(
|
||||
'class' => 'no-label',
|
||||
'title' => $customField->getName()[$this->requestStack->getCurrentRequest()->getLocale()],
|
||||
self::TYPE => $customField->getOptions()[self::TYPE ]
|
||||
)
|
||||
|
@ -1,5 +1,5 @@
|
||||
{% block custom_field_title_widget %}
|
||||
<span class="{{ form.vars.attr.type }}">
|
||||
<span class="cf-{{ form.vars.attr.type }}">
|
||||
{{ form.vars.attr.title }}
|
||||
</span>
|
||||
{% endblock custom_field_title_widget %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user