summaryrefslogtreecommitdiff
blob: c009610867ad8fe0ca9978972e4c28e2297039d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<div class="box w40em">
  <h2><%= @user.login %></h2>

  <table>
    <tr>
      <th>ID</th>
      <td><%= @user.id %></td>
    </tr>
    <tr>
      <th>Name</th>
      <td><%= @user.name %></td>
    </tr>
    <tr>
      <th>Email</th>
      <td><%= mail_to @user.email %></td>
    </tr>
    <tr>
      <th>Access Level</th>
      <td><%= access_string @user.access %></td>
    </tr>
    <tr>
      <th>Disabled flag</th>
      <td><%= @user.disabled %></td>
    </tr>
    <tr>
      <th>Admin flag</th>
      <td><%= @user.jefe %></td>
    </tr>    
</table>
</div>

<%= link_to 'Edit', edit_admin_user_path(@user) %> |
<%= link_to 'Delete', admin_user_path(@user), :confirm => 'Are you sure?', :method => :delete %> |
<%= link_to 'Back', admin_users_path %>