<% content_for :secondary do %> <%= render 'side_bar' %> <% end %>
<% if @user.avatar? %> <%= image_tag(@user.avatar.thumb.url) %> <% else %> <%= image_tag "person.png" %> <% end %>
<% @infos.each do |a| %>

<%= a.i18n_variable[I18n.locale] %>


<%= render :partial => 'show_attribute', :locals => {:a => a} %>
<% end -%>

<%= @user.role.i18n_variable[I18n.locale] %>


<%#= render :partial => 'show_attribute', :locals => {:a => active_role, :object => @user.get_role_from_key(active_role.key)} %>
<%= link_to t(:edit), edit_admin_user_path(@user) %> <%= link_back %>