templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>{% block title %}Welcome!{% endblock %}</title>
  6.         {% block stylesheets %}
  7.             {{ encore_entry_link_tags('app') }}
  8.         {% endblock %}
  9.     </head>
  10.     <body>
  11.     {% if is_granted('IS_AUTHENTICATED_REMEMBERED') %}
  12.         <div class="alert alert-secondary text-right"><a href="{{ path('dashboard') }}">Dashboard</a> | <a href="{{ path('app_logout') }}">Logout</a> </div>
  13.         {% for message in app.flashes('success') %}
  14.             <div class="alert alert-light" role="alert">
  15.                 {{ message }}
  16.             </div>
  17.         {% endfor %}
  18.     {% endif %}
  19.         {% block body %}{% endblock %}
  20.         {% block javascripts %}
  21.             {{ encore_entry_script_tags('app') }}
  22.         {% endblock %}
  23.     </body>
  24. </html>