<div id="users-others-content" class="character-details">
<% others_custom_fields = @user.visible_custom_field_values_non_primary %>
<% file_custom_fields = [] %>
<% unless others_custom_fields.empty? %>
  <table class="attributes">
    <% others_custom_fields.each do |custom_field_value| %>
      <% if custom_field_value.custom_field.field_format != 'file' %>
        <tr>
          <th><%= h custom_field_value.custom_field.translated_name %>:</th>
          <td><%= show_value(custom_field_value) %></td>
        </tr>
      <% else %>
        <% file_custom_fields << custom_field_value %>
      <% end %>
    <% end %>
  </table>
  <fieldset>
    <%= render :partial => 'easy_taggables/easy_taggables', :locals => { :entity => @user } %>
  </fieldset>
  <div id="others_custom_field_files">
    <% file_custom_fields.each do |custom_field_value| %>
      <%= link_to_attachments(@user.custom_value_for(custom_field_value.custom_field), { label: custom_field_value.custom_field.name }) -%>
    <% end %>
  </div>
<% else %>
  <p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
</div>

