{% block _scripts_before_widget %}
    {{ block_widget(block) }}
    {% block scripts_before %}
        {% placeholder scripts_before %}
    {% endblock %}
{% endblock %}

{% block _require_js_widget %}
    {% set requirejs_config_extend %}
        {%- placeholder requirejs_config_extend -%}
    {% endset %}
    {% include 'OroRequireJSBundle::scripts.html.twig' with {
    compressed: not app.debug,
    config_extend: requirejs_config_extend
    } %}
    {% placeholder scripts_after %}
    {{ block_widget(block) }}
{% endblock %}

{% block _require_modules_widget %}
    {{ block_widget(block) }}
{% endblock %}

{% block _scripts_before_widget %}
    {{ block_widget(block) }}
    {% block scripts_before %}
        {% placeholder scripts_before %}
    {% endblock %}
{% endblock %}

{% block _require_js_widget %}
    {% set requirejs_config_extend %}
        {%- placeholder requirejs_config_extend -%}
    {% endset %}
    {% include 'OroRequireJSBundle::scripts.html.twig' with {
        compressed: not app.debug,
        config_extend: requirejs_config_extend
    } %}
    {% placeholder scripts_after %}
    {{ block_widget(block) }}
{% endblock %}

{% block _require_modules_widget %}
    {{ block_widget(block) }}
{% endblock %}

Refactor OroRequireJSExtension - reverted unnecessary formatting changes
BB-3562: Refactor OroRequireJSExtension
- reverted unnecessary formatting changes
