Archive / currentwq votes are separated
[cavote.git] / templates / layout.html
index 0234d90..78f4ece 100644 (file)
@@ -20,8 +20,8 @@
   <div class="btn-toolbar">
     <div class="btn-group">
       <a class="btn active" href="/">Accueil</a>
-      <a class="btn" href="">Votes en cours</a>
-      <a class="btn" href="{{ url_for('show_votes') }}">Archives</a>
+      <a class="btn" href="{{ url_for('show_votes', votes='currently') }}">Votes en cours</a>
+      <a class="btn" href="{{ url_for('show_votes', votes='archives') }}">Archives</a>
       {% if session.is_admin %}
       <a href="#" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Admin <b class="caret"></b></a>
       <ul class="dropdown-menu pull-right">