vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/list__action_delete.html.twig line 1

Open in your IDE?
  1. {#
  2. This file is part of the Sonata package.
  3. (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
  4. For the full copyright and license information, please view the LICENSE
  5. file that was distributed with this source code.
  6. #}
  7. {% if admin.hasAccess('delete', object) and admin.hasRoute('delete') %}
  8.     <a href="{{ admin.generateObjectUrl('delete', object) }}" class="btn btn-sm btn-default delete_link" title="{{ 'action_delete'|trans({}, 'SonataAdminBundle') }}">
  9.         <i class="fa fa-times" aria-hidden="true"></i>
  10.         {{ 'action_delete'|trans({}, 'SonataAdminBundle') }}
  11.     </a>
  12. {% endif %}