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/commitdiff_plain/5c62b1606f7f89efdd5a6c51308cd0212fe9a709?hp=f55c18a56705cbe340a1234d9083ad4e1055f0d4
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') %>.