]> git.openstreetmap.org Git - rails.git/blob - app/views/users/_user.html.erb
Merge pull request #4316 from AntonKhorev/block-reason-max-length
[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_address %>
8         <%= t "users.index.summary_html",
9               :name => link_to(user.display_name, user),
10               :ip_address => link_to(user.creation_address, :ip => user.creation_address),
11               :date => l(user.created_at, :format => :friendly) %>
12       <% else %>
13         <%= t "users.index.summary_no_ip_html",
14               :name => link_to(user.display_name, user),
15               :date => l(user.created_at, :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>