end
#======================================================================
- #The following methods are for slectricity specific uses
+ #The following methods are for selectricity specific uses
def summary
@user = User.find(params[:id])
end
<% if @current_elections.length < 1 %>
<p><em>You have not created any elections.</em></p>
+<% elsif @current_elections.length > 6 %>
+<p>You have more than six elections which may not fit on the control panel. Clcik on the following link to go to your user profile, which lists all your elections. <b/>
+<%= link_to "Summary", :controller => "account", :action => "summary", :id => session[:user].id %> </p>
<% else %>
<ul>
<% for election in @current_elections %>