Renamed role table into groups, and debug
[cavote.git] / templates / votes.html
index d770c2b..55ab248 100644 (file)
@@ -7,14 +7,14 @@ Liste des votes
   <article>
     <div class="row well">
       <div class="span4">
-        <h3><a href="{{ url_for('vote', idvote=vote.id) }}">{{ vote.title }}</a></h3>
+        <h3><a href="{{ url_for('vote', idvote=vote.voteid) }}">{{ vote.title }}</a></h3>
         <div class="progress progress-striped">
           <div class="bar" style="width: 60{{ vote.percent }}%;"></div>
         </div>
       </div>
       <div class="span3">
         <h4>Deadline : {{ vote.date_end }} </h4>
-        <h4>Groupe : {{ vote.rolename }}</h4>
+        <h4>Groupe : {{ vote.group }}</h4>
         <h4>Categorie : {{ vote.category }}</h4>
       </div>
       <div class="span3">