magnetico-web/templates/index.html.twig

9 lines
293 B
Twig

{% extends 'base.html.twig' %}
{% block content %}
<div class="well">
{% if not is_granted('ROLE_USER') %}
<a href="{{ path('user_auth_login') }}" class="btn btn-lg btn-primary"><i class="fas fa-sign-in-alt"></i> Login</a>
{% endif %}
</div>
{% endblock %}