bluelemons/diputados

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

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><%= content_for?(:title) ? yield(:title) : "Dummy" %></title>
    <%= csrf_meta_tags %>

    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script>
    <![endif]-->

    <%= stylesheet_link_tag "backend", :media => "all" %>
    <!-- Javascripts
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <%= javascript_include_tag "backend" %>

  </head>
  <body class="<%= controller_name %> <%= action_name %>">
    <div id="wrap">
      <%= render 'navigation' %>
      <%= render 'action_bar' %>

      <div class="container-fluid">
        <%= bootstrap_flash %>
        <%= yield %>
      </div>
    </div> <!-- /container -->
    <%= render 'footer' %>

  </body>
</html>