Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 390
- Log:
Initial import of Canvass, a donations-based poll application.
- Author:
- rool
- Date:
- Mon Mar 21 14:58:04 +0000 2011
- Size:
- 1252 Bytes
1 | <table border="1" cellspacing="1" cellpadding="0"> |
2 | <tr> |
3 | <th><%= User.human_attribute_name( :name ) %></th> |
4 | <td><%= h( @user.name ) %></td> |
5 | </tr> |
6 | <tr> |
7 | <th><%= User.human_attribute_name( :email ) %></th> |
8 | <td><%= mail_to( @user.email ) %></td> |
9 | </tr> |
10 | <tr> |
11 | <th><%= User.human_attribute_name( :admin ) %></th> |
12 | <td><%= apphelp_boolean( @user.admin ) %></td> |
13 | </tr> |
14 | <tr> |
15 | <th><%= User.human_attribute_name( :yours ) %></th> |
16 | <td><%= apphelp_boolean( @user.id == current_user.try( :id ) ) %></td> |
17 | </tr> |
18 | <tr> |
19 | <th><%= User.human_attribute_name( :created_at ) %></th> |
20 | <td><%= @user.created_at %></td> |
21 | </tr> |
22 | </table> |
23 | |
24 | <p /> |
25 | <div class="buttons"> |
26 | <%= |
27 | apphelp_protected_buttons_to( |
28 | [ |
29 | :index, |
30 | { |
31 | :method => :user_donations_path, |
32 | :controller => DonationsController, |
33 | :text => donationshelp_index_text( @user ) |
34 | }, |
35 | { :user_id => @user.id } |
36 | ], |
37 | [ |
38 | :index, |
39 | { |
40 | :method => :user_polls_path, |
41 | :controller => PollsController, |
42 | :text => pollshelp_index_text( @user ) |
43 | }, |
44 | { :user_id => @user.id } |
45 | ] |
46 | ) |
47 | %> |
48 | </div> |