vendor/sonata-project/admin-bundle/src/Resources/views/CRUD/list__action_edit.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('edit', object) and admin.hasRoute('edit') %}
  8.     <a href="{{ admin.generateObjectUrl('edit', object) }}" class="btn btn-sm btn-default edit_link" title="{{ 'action_edit'|trans({}, 'SonataAdminBundle') }}">
  9.         <i class="fa fa-pencil" aria-hidden="true"></i>
  10.         {{ 'action_edit'|trans({}, 'SonataAdminBundle') }}
  11.     </a>
  12. {% endif %}