% if authenticated? %> <% else %> <% end %> <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %>
<%= content_tag :div, class: authenticated? ? "main authenticated" : "main unauthenticated" do %>