% content_for :secondary do %>
<%= t('panel.roles') %> | <%= t('panel.name') %> | <%= t('panel.email') %> | <%= t('panel.admin') %> | <%= t('panel.action') %> |
---|---|---|---|---|
<%= user.get_roles %> | <%= user[:name] %> | <%= user.email %> | <%= user.admin ? t(:yes_) : t(:no_) %> | <%= link_to t(:show), panel_user_path(user) %> | <%= link_to t(:edit), edit_panel_user_path(user) %> | <%= link_to t(:delete), panel_user_path(user), :confirm => t('sure?'), :method => :delete %> |