Working on a step-by-step workflow audit.
[selectricity] / app / views / site / _user_summary.rhtml
1 <% %>
2
3 <h2>Activity Summary</h2>
4
5 <% if @current_elections.length < 1 %>
6   <em>You have not created any elections.</em>
7 <% else %>
8   <ul>
9   <% for election in @current_elections %>
10     <li><%= election.name %> (ends <em><%= election.enddate %></em>)</li> 
11   <% end %>
12   </ul>
13 <% end %>
14
15 <p><%= link_to "Create a new election", :controller => 'election', :action => 'new' %></p>
16 <p></p>
17

Benjamin Mako Hill || Want to submit a patch?