Use db_query() function to get entries from db
[cavote.git] / templates / layout.html
index ce4b89b..acc8c74 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="{{ url_for('show_votes', votes='currently') }}">Votes en cours</a>
-      <a class="btn" href="{{ url_for('show_votes', votes='archives') }}">Archives</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 href="#" class="btn btn-warning dropdown-toggle" data-toggle="dropdown">Admin <b class="caret"></b></a>
       <ul class="dropdown-menu pull-right">