@@ -15,8 +15,8 @@ use Symfony\Component\Form\Extension\Core\Type\TimeType; | |||
abstract class BaseSettingType extends AbstractType | |||
{ | |||
protected $em; | |||
protected $settingDefinition; | |||
protected EntityManagerInterface $em; | |||
protected SiteSettingDefinitionInterface $settingDefinition; | |||
public function __construct( | |||
EntityManagerInterface $entityManager, |
@@ -44,9 +44,7 @@ | |||
{% endblock %} | |||
{% endembed %} | |||
{# {% for child in form.settings %}#} | |||
{# {% do child.setRendered() %}#} | |||
{# {% endfor %}#} | |||
{% do form.settings.setRendered %} | |||
{{ form_end(form) }} | |||
{% endblock %} |