123456789101112131415161718192021222324252627282930 |
- {#
- This file is part of the Sonata package.
- (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
- For the full copyright and license information, please view the LICENSE
- file that was distributed with this source code.
- #}
- {% extends base_template %}
- {% block field %}
- <div id="field_container_{{ admin.code }}_{{ field_element.id}}">
- <span id="field_widget_{{ admin.code }}_{{ field_element.id}}" >
- {{ form_field(field_element) }}
- </span>
-
- <span id="field_actions_{{ admin.code }}_{{ field_element.id}}" >
- <a href="{{ field_description.associationadmin.generateUrl('create') }}" onclick="start_field_dialog_form_add_{{ admin.code }}_{{ field_element.id }}(event)" class="action"><img src="{{ asset('bundles/sonatabaseapplication/famfamfam/add.png') }}" alt="{% trans 'btn_add' from 'BaseApplicationBundle' %}" /></a>
- </span>
-
- <div style="display: hidden" id="field_dialog_{{ admin.code }}_{{ field_element.id }}">
- </div>
- </div>
- {% include 'SonataBaseApplicationBundle:CRUD:edit_many_association_script.twig.html' %}
- {% endblock %}
|