Created
January 28, 2012 03:16
-
-
Save azuby/1692319 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title><%= title %></title> | |
<!--[if lt IE 9]> | |
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script> | |
<![endif]--> | |
<%= stylesheet_link_tag "application" %> | |
<%= javascript_include_tag "application" %> | |
<%= csrf_meta_tag %> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" /> | |
<script type="text/javascript" | |
src="http://maps.googleapis.com/maps/api/js?sensor=false"> | |
</script> | |
</head> | |
<body> | |
<%= render 'layouts/partials/header' %> | |
<div class="container"> | |
<% flash.each do |key, value| %> | |
<%= content_tag(:div, value, :class => "flash #{key}") %> | |
<% end %> | |
<%= render 'layouts/partials/left_sidebar' if user_signed_in? %> | |
<div class="content-wrapper"> | |
<% if user_signed_in? && params[:action] == "index" %> | |
<%= render 'layouts/partials/topbar' %> | |
<% end %> | |
<div class="content"> | |
<%= yield %> | |
</div> | |
</div> | |
<%= render 'layouts/partials/footer'%> | |
<%= debug(params) if Rails.env.development? %> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment