]> git.openstreetmap.org Git - rails.git/blob - app/views/users/_user.html.erb
Make tab labels into nouns that describe what's on the tab
[rails.git] / app / views / users / _user.html.erb
1 <tr>
2   <td>
3     <%= user_thumbnail(user) %>
4   </td>
5   <td>
6     <p>
7       <% if user.creation_ip %>
8         <%= t "users.index.summary_html",
9               :name => link_to(user.display_name, user_path(user)),
10               :ip_address => link_to(user.creation_ip, :ip => user.creation_ip),
11               :date => l(user.creation_time, :format => :friendly) %>
12       <% else %>
13         <%= t "users.index.summary_no_ip_html",
14               :name => link_to(user.display_name, user_path(user)),
15               :date => l(user.creation_time, :format => :friendly) %>
16       <% end %>
17     </p>
18     <div class="richtext text-break"><%= user.description.to_html %></div>
19   </td>
20   <td>
21     <%= check_box_tag "user_#{user.id}", "", false, :name => "user[#{user.id}]" %>
22   </td>
23 </tr>