Hi there

I have the login form in the header of the page.
I need extend one template but the code is repeat

{#  base.html.twig #}
{% if not is_granted('IS_AUTHENTICATED_FULLY') %}
    {% block login %}
        {% render 'FOSUserBundle:Security:login' %}
    {% endblock %}
{% endif %}

{# login.html.twig #}
{% extends 'base.html.twig' %}
{% block body %}
{% block login %}
{% if error %}...{% endif %}
<form .../>
{% endblock %}
{% endblock %}

How I do for fixing this issue

Thanks for your help

-- 
-- 
If you want to report a vulnerability issue on Symfony, please read the 
procedure on http://symfony.com/security

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en


Reply via email to