X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/6d422530319d9fbacc37c271e22778d07414f0da..4efa3e9bc47cc649205a399fde51ed7e61bef7f8:/app/views/site/_user_summary.rhtml diff --git a/app/views/site/_user_summary.rhtml b/app/views/site/_user_summary.rhtml new file mode 100644 index 0000000..a231497 --- /dev/null +++ b/app/views/site/_user_summary.rhtml @@ -0,0 +1,17 @@ +<% %> + +

Activity Summary

+ +<% if @current_elections.length < 1 %> + You have not created any elections. +<% else %> + +<% end %> + +

<%= link_to "Create a new election", :controller => 'election', :action => 'new' %>

+

+