- <a class="btn active" href="/">Accueil</a>
- <a class="btn" href="{{ url_for('show_votes', votes='current') }}">Votes en cours</a>
- <a class="btn" href="{{ url_for('show_votes', votes='archive') }}">Archives</a>
- {% if session.is_admin %}
+ <a class="btn {% if active_button == 'home' %}active{% endif %}" href="/">Accueil</a>
+ <a class="btn {% if active_button == 'current' %}active{% endif %}" href="{{ url_for('show_votes', votes='current') }}">Votes en cours</a>
+ <a class="btn {% if active_button == 'archive' %}active{% endif %}" href="{{ url_for('show_votes', votes='archive') }}">Archives</a>
+ {% if session.user and session.user.is_admin %}