magnetico-web/templates/index.html.twig

9 lines
281 B
Twig

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