15 lines
525 B
Plaintext
15 lines
525 B
Plaintext
|
<%
|
||
|
if user_edit_order.sex == 'male'
|
||
|
@user_sex = 'gender-man'
|
||
|
elsif user_edit_order.sex == 'female'
|
||
|
@user_sex = 'gender-woman'
|
||
|
else
|
||
|
@user_sex = 'gender-none'
|
||
|
end
|
||
|
%>
|
||
|
<tr id="<%= dom_id user_edit_order %>">
|
||
|
<td class="<%= @user_sex %>"></td>
|
||
|
<td><%= link_to user_edit_order.position + 1, '#', class: 'edit_position', 'data-user-id' => user_edit_order.id %></td>
|
||
|
<td><%= link_to user_edit_order.name, admin_users_new_interface_path(user_edit_order) %></td>
|
||
|
<td><%= user_edit_order.email %></td>
|
||
|
</tr>
|