orbit-4-2/app/views/admin/authorizations/_user.html.erb

10 lines
436 B
Plaintext

<li class="filter-item selected_user <%= 'check-item' unless user == current_user || user.admin %>" id="<%= user.id %>">
<label>
<%= image_tag (user.avatar? ? user.avatar.thumb : 'menber-pic.png'), :class => "user-pic" %>
<span class="user-name"><%= user.name %></span>
<span><%= get_user_module_role(user) %></span>
</label>
<% unless user == current_user || user.admin %>
<input type="checkbox">
<% end %>
</li>