<%%= stylesheet_link_tag 'application' %> <%%= javascript_include_tag :defaults %> <%%= yield(:head) %> <%%= csrf_meta_tag %>
<%% if logged_in? %> <%%= current_<%= user_singular_name %>.username %> | <%%= current_<%= user_singular_name %>.email %> | <%%= link_to "» Sair", logout_path, :class => 'logout' %> <%% else %> <%%= link_to "» Entrar", login_path, :class => 'login' %> <%% end %>
<%% if show_title? %>

<%%= yield(:title) %>

<%% end %>
<%%= raw flash_messages %> <%%= yield %>