gurusorocaba/gurusorocaba.com.br

View on GitHub
app/views/layouts/application.html.erb

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html>
<head>
  <title>guru sorocaba</title>
  <%= stylesheet_link_tag    "structure", "application" %>
  <%= javascript_include_tag "application" %>
  <%= development_assets unless Rails.env.production? %>
  <%= render "shared/grid" %>
  <%= csrf_meta_tags %>
</head>
<body>
  <div id="header">
    <div class="container">
      <h1><%= link_to "guru sorocaba", root_path %></h1>
      <nav>
        <% if user_signed_in? %>
          <%= link_to "editar perfil", edit_user_registration_path %>
          <%= link_to "logout", logout_path %>
        <% else %>
          <%= link_to "cadastrar", new_user_registration_path %>
          <%= link_to "login", login_path %>
        <% end %>
      </nav>
      <%= render "shared/flash_messages" %>
    </div>
  </div>
  <div id="content">
    <div class="container">
      <%= yield %>
    </div>
  </div>
  <%= render "shared/analytics" %>
</body>
</html>