X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/5fd5cba6038d0ed97adb735cd24cc70c26335a3e..15870a550ddd18192efc71c1355a238e7c7c53e8:/app/views/account/summary.rhtml diff --git a/app/views/account/summary.rhtml b/app/views/account/summary.rhtml index b53122e..075d096 100644 --- a/app/views/account/summary.rhtml +++ b/app/views/account/summary.rhtml @@ -10,6 +10,12 @@ E-mail: <%=h @user.email %>
Member since: <%=h @user.created_at.strftime("%x") %>

+

+ <%= link_to "Update Email Address", :action => 'change_contact', + :id => @user.id %> +

+ +

Your Elections: @@ -21,12 +27,8 @@ Member since: <%=h @user.created_at.strftime("%x") %> <% @user.elections.select {|e| e.instance_of?(Election)}.each do |election| %>
- <% if election.active == 1 -%> <%= link_to "#{election.name}", :controller => 'election', :action => 'show', :id => election %> - <% else -%> - <%=h election.name %> - <% end -%> <%=h election.description %> @@ -40,6 +42,7 @@ Member since: <%=h @user.created_at.strftime("%x") %> <% end -%>

+

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


@@ -77,3 +80,4 @@ Your Quickvotes: <% end %> +

<%= link_to( "Create a new QuickVote", :controller => 'quickvote', :action => 'create') %>.