<%= link_to user.name, [:edit, user], class: 'user-name' %> <%= user.email %> <%= user.roles_names %> <%= link_to "#{icon_tag 'pencil'} Edit".html_safe, [:edit, user], class: 'btn btn-default' %> <%= link_to_delete user %>