{# This file is part of the Sonata package. (c) Thomas Rabaix For the full copyright and license information, please view the LICENSE file that was distributed with this source code. #}
{% block label %} {% if field_description.options.name is defined %} {{ form_label(field_element, field_description.options.name) }} {% else %} {{ form_label(field_element) }} {% endif %} {% endblock %}
{% block field %}{{ form_widget(field_element) }}{% endblock %} {% if field_description.help %} {% block help %}{{ field_description.help|raw }}{% endblock %} {% endif %}
{% block errors %}{{ form_errors(field_element) }}{% endblock %}