From: C. Scott Ananian
Date: Sat, 22 Jan 2011 08:42:16 +0000 (-0500)
Subject: Add links to create new election/quick vote on the account summary screen.
X-Git-Url: https://projects.mako.cc/source/selectricity-live/commitdiff_plain/5c62b1606f7f89efdd5a6c51308cd0212fe9a709?ds=inline
Add links to create new election/quick vote on the account summary screen.
---
diff --git a/app/views/account/summary.rhtml b/app/views/account/summary.rhtml
index 0ea9f24..4d79f5b 100644
--- a/app/views/account/summary.rhtml
+++ b/app/views/account/summary.rhtml
@@ -36,6 +36,7 @@ Member since: <%=h @user.created_at.strftime("%x") %>
<% end -%>
+<%= link_to "Create a new election", :controller => 'election', :action => 'new' %>.
@@ -73,3 +74,4 @@ Your Quickvotes:
<% end %>
+<%= link_to( "Create a new QuickVote", :controller => 'quickvote', :action => 'create') %>.