|
|
|
@ -46,6 +46,9 @@
|
|
|
|
|
<th style="width: 50px;">
|
|
|
|
|
用户身份
|
|
|
|
|
</th>
|
|
|
|
|
<th style="width: 50px;">
|
|
|
|
|
用户单位
|
|
|
|
|
</th>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
@ -88,6 +91,13 @@
|
|
|
|
|
<% end %>
|
|
|
|
|
<% end%>
|
|
|
|
|
</td>
|
|
|
|
|
<td align="center">
|
|
|
|
|
<% if User.current.user_extensions.identity == "0" %>
|
|
|
|
|
<%= user.user_extensions.school_id.nil? ? "" : (School.where("id =?", user.user_extensions.school_id)).first.try(:name) %>
|
|
|
|
|
<% else %>
|
|
|
|
|
<%= user.user_extensions.occupation %>
|
|
|
|
|
<% end %>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<% end %>
|
|
|
|
|
</tbody>
|
|
|
|
|