This topic contains 1 reply, has 2 voices, and was last updated by Mike Kudelya 7 years, 4 months ago.
- Topic
Hi Guys,
i try to overwrite the Form Block “{% block oro_entity_create_or_select_inline_widget %}“,
but it’s not working.
I created an “fields.html.twig” and configure it in my “app/config.yml“:1234twig:form:resources:- '[Bundlename]:Form:fields.html.twig'The “fields.html.twig” look like:
123456789101112131415161718{% extends 'OroFormBundle:Form:fields.html.twig' %}{% block oro_entity_create_or_select_inline_widget %}{% set isButtonsEnabled = not disabled and not read_only %}<div id="{{ id }}-el"{% if isButtonsEnabled %}class="entity-create-or-select-container {% if form.vars.create_enabled %}entity-create-enabled{% endif %}"{% endif %}><div {% if isButtonsEnabled %}class="input-append"{% endif %}>{{ form_widget(form) }}{% if isButtonsEnabled %}<!--<button class="add-on btn entity-select-btn"><i class="icon-bars"></i></button>-->{% if form.vars.create_enabled %}<button class="btn entity-create-btn"><i class="icon-plus"></i></button>{% endif %}{% endif %}</div></div>But the “entity-select-btn” Button is still showing up.
Can anybody help me?Thanks
David
The forum ‘OroPlatform – How do I? Questions’ is closed to new topics and replies.