]> projects.mako.cc - selectricity/blob - app/views/quickvote/my_quickvotes.rhtml
* refactored the system so that it keeps pictures in a seperate table
[selectricity] / app / views / quickvote / my_quickvotes.rhtml
1 <table class="voterbox">
2   <tr>
3   <% ["Name", "Start Date", "End Date", "Description"].each do |column| %>
4         <th><%= column %></th>
5   <% end -%>
6   </tr>
7
8   <% @myqvs.each do |quickvote| %>
9   <tr>
10         <td>
11         <%= link_to "#{quickvote.name}",
12            quickaction_url( :ident => quickvote.name, :action => 'results' ) %>
13         </td>
14     <td><%= quickvote.startdate.strftime("%x") %></td>
15     <td><%= quickvote.enddate.strftime("%x") %></td>
16         <td><%= quickvote.description %>
17   </tr>
18 <% end %>
19 </table>        

Benjamin Mako Hill || Want to submit a patch?