43 lines
2.3 KiB
Plaintext
43 lines
2.3 KiB
Plaintext
<div class="roles <%= role_class %>">
|
|
<div class="label-line">
|
|
<hr />
|
|
<span><%= t(i18n)%></span>
|
|
</div>
|
|
<table class="table">
|
|
<tbody>
|
|
<tr>
|
|
<td class="span1"><%= t('users.first_name')%></td>
|
|
<td><%= @user.first_name %></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="span1"><%= t('users.last_name')%></td>
|
|
<td><%= @user.last_name %></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="span1"><%= t('users.email')%></td>
|
|
<td><%= @user.email %></td>
|
|
</tr>
|
|
<% if !@user.sid.blank? %>
|
|
<tr>
|
|
<td class="span1"><%= t('users.sid')%></td>
|
|
<td><%= @user.sid %></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="span1"><%= t('users.office_tel')%></td>
|
|
<td><%= @user.office_tel %></td>
|
|
</tr>
|
|
<% end %>
|
|
<tr>
|
|
<td class="span1"><%= t('users.sex')%></td>
|
|
<td><%= t("users.#{@user.sex}") %></td>
|
|
</tr>
|
|
<% items.each do |item| %>
|
|
<tr>
|
|
<td class="span1"><%= item[:name] %></td>
|
|
<td><%= show_attribute_value(item[:value]) %></td>
|
|
</tr>
|
|
<% end -%>
|
|
</tbody>
|
|
</table>
|
|
</div>
|