<%= link_to_if_arvados_object u %>
|
<%= render_editable_attribute u, 'first_name' %>
<%= render_editable_attribute u, 'last_name' %>
|
<%= render_editable_attribute u, 'email' %>
|
<%= render_editable_attribute u, 'is_active', u.is_active ? 'Active' : 'No', "data-type" => "select", "data-source" => '[{value:1,text:"Active"},{value:0,text:"No"}]', "data-value" => u.is_active ? "1" : "0" %>
|
<%= render_editable_attribute u, 'is_admin', u.is_admin ? 'Admin' : 'No', "data-type" => "select", "data-source" => '[{value:1,text:"admin"},{value:0,text:"No"}]', "data-value" => u.is_admin ? "1" : "0" %>
|
<%= render_editable_attribute u, 'owner_uuid' %>
|
<%= render_editable_attribute u, 'default_owner_uuid' %>
|
<% if current_user and current_user.is_admin %>
<%= link_to raw(''), { action: 'destroy', id: u.uuid }, { confirm: 'Delete this user?', method: 'delete' } %>
<% end %>
|
<% end %>
<% if @objects.count == 0 %>