Skip to content

@joshukraine /application.html.erb secret
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
application layout
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title><%= full_title(yield(:title)) %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "vendor/modernizr" %>
<%= csrf_meta_tags %>
</head>
<body>
<% if signed_in? %>
<%= render 'layouts/top-nav' %>
<% else %>
<%= render 'layouts/top-bar' %>
<% end %>
<div class="row">
<% if signed_in? %>
<nav class="large-4 columns">
<%= render 'layouts/sidenav' %>
</nav>
<div class="large-20 columns">
<% unless @page_header == "Query" %>
<% flash.each do |key, value| %>
<div data-alert class="alert-box cbc-<%= key %>">
<%= value %>
<a href="#" class="close">&times;</a>
</div>
<% end %>
<% end %>
<%= yield %>
</div>
<% else %>
<%= yield %>
<% end %>
</div>
<%= javascript_include_tag "application" %>
<%#= debug(params) if Rails.env.development? %>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.