projects
/
selectricity-live
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f55c18a
)
Add links to create new election/quick vote on the account summary screen.
author
C. Scott Ananian
<cscott@cscott.net>
Sat, 22 Jan 2011 08:42:16 +0000
(
03:42
-0500)
committer
Benjamin Mako Hill
<mako@atdot.cc>
Sun, 17 Jun 2012 23:13:06 +0000
(19:13 -0400)
app/views/account/summary.rhtml
patch
|
blob
|
history
diff --git
a/app/views/account/summary.rhtml
b/app/views/account/summary.rhtml
index 0ea9f241dcb729614205a6445581998fc1b3335a..4d79f5b18fe3b0011145a6981c9d69cd038bf31f 100644
(file)
--- 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 -%>
</table>
</p>
<% end -%>
</table>
</p>
+<p><%= link_to "Create a new election", :controller => 'election', :action => 'new' %>.</p>
<br />
<br />
@@
-73,3
+74,4
@@
Your Quickvotes:
</tr>
<% end %>
</table>
</tr>
<% end %>
</table>
+<p><%= link_to( "Create a new QuickVote", :controller => 'quickvote', :action => 'create') %>.</p>
Benjamin Mako Hill
||
Want to submit a patch?