merged changed in from devel to activate voting in full elections
[selectricity] / app / views / front / _user_summary.rhtml
1 <% if @current_elections.length < 1 %>
2   <p><em>You have not created any elections.</em></p>
3 <% else %>
4   <ul>
5   <% for election in @current_elections %>
6     <li><%= link_to election.name, :controller => 'election', :action => 'show', :id => election.id %> (ends in <em><%=
7     distance_of_time_in_words Time.now, election.enddate %></em>)</li> 
8   <% end %>
9   </ul>
10 <% end %>
11
12 <p><%= link_to "Create a new election", :controller => 'election', :action => 'new' %>.</p>
13

Benjamin Mako Hill || Want to submit a patch?