<%= link_to admin_profile_path, class: %w(profile menu), remote: true do %>
<%= content_tag :span, current_user.email %>
<% end %>
<%= content_tag :h2 do |header| %>
<% if controller_name.eql?('posts') %>
<% header.css << 'selected' %>
<% end %>
<%= link_to('Posts', admin_posts_path) %>
<% end %>