|
@@ -77,6 +77,9 @@ file that was distributed with this source code.
|
|
{% endblock choice_widget %}
|
|
{% endblock choice_widget %}
|
|
|
|
|
|
{% block field_row %}
|
|
{% block field_row %}
|
|
|
|
+ {% if sonata_admin is not defined or not sonata_admin_enabled or not sonata_admin.field_description %}
|
|
|
|
+ {{ form_row(form) }}
|
|
|
|
+ {% else %}
|
|
<div class="clearfix{% if errors|length > 0%} error{%endif%}" id="sonata-ba-field-container-{{ id }}">
|
|
<div class="clearfix{% if errors|length > 0%} error{%endif%}" id="sonata-ba-field-container-{{ id }}">
|
|
{% block label %}
|
|
{% block label %}
|
|
{% if sonata_admin.field_description.options.name is defined %}
|
|
{% if sonata_admin.field_description.options.name is defined %}
|
|
@@ -101,6 +104,7 @@ file that was distributed with this source code.
|
|
{% endif %}
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ {% endif %}
|
|
{% endblock field_row %}
|
|
{% endblock field_row %}
|
|
|
|
|
|
{% block collection_widget_row %}
|
|
{% block collection_widget_row %}
|