breadcrumb.html.twig 620 B

123456789101112131415161718192021222324
  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. <div class="sonata-ba-breadcrumbs">
  8. <h1>
  9. {% block breadcrumb %}
  10. {% if action is defined %}
  11. {% for label, uri in admin.breadcrumbs(action) %}
  12. {% if not loop.first %}
  13. &gt;
  14. {% endif %}
  15. <a href="{{ uri }}">{{ label }}</a>
  16. {% endfor %}
  17. {% endif %}
  18. {% endblock %}
  19. </h1>
  20. </div>