Created a user "summary/profile page". Also corected several minor typos on election...
[selectricity] / app / views / site / index.rhtml
index 1b994b0e16ebf84e29e1b7df89c1c9298cb81e44..9b0b1fec8e8a672a3594a983cf55e6ab086fcef4 100644 (file)
@@ -11,8 +11,12 @@ without the complex features of <em>Selectricity</em>. They are the
 quickest way to make a decision or to compare between voting
 methods.</p>
 
-<p><%= link_to "Create a QuickVote", :controller => 'quickvote', :action => 'create' %></p>
+<p><%= link_to( "Create a QuickVote", :controller => 'quickvote',
+                :action => 'create') %></p>
 
+<p>Take a look at the QuickVotes you've made recently: <br />
+<%= link_to( "My Recent QuickVotes", :controller => 'quickvote',
+                :action => 'my_quickvotes')%></p>
 <p>Recent <em>QuickVotes</em> include:</p>
 
 <ul>
@@ -21,6 +25,8 @@ methods.</p>
 <% end %>
 </ul>
 
+
+
 <h2>Selectricity <em>Anywhere</em></h2>
 
 <p>You can also access Selectricity entirely over email or via SMS/text
@@ -47,7 +53,7 @@ ongoing election, you can log in to vote using your token here.</p>
 
 <p><%= link_to 'Lost or forgot your token?', :controller => 'voter', :action => 'forgot_password' %></p>
 <% if session[:user] %>
-  <%= render_partial 'user_summary' %> 
+  <%= render :partial => 'user_summary' %> 
 <% else %>
   <h2>Vote Administrators</h2>
   <p>You must have an account to start a new vote or to administer an

Benjamin Mako Hill || Want to submit a patch?