Skip to content

Instantly share code, notes, and snippets.

@fccoelho7
Created September 27, 2017 22:38
Show Gist options
  • Save fccoelho7/da4f6cdad06d6ddea43673f9dd969604 to your computer and use it in GitHub Desktop.
Save fccoelho7/da4f6cdad06d6ddea43673f9dd969604 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Grensa</title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head>
<% unless user_signed_in? %>
<body>
<%= yield %>
</body>
<% else %>
<body class="fixed-left">
<div id="wrapper">
<%= render "shared/topbar" %>
<%= render "shared/menu" %>
<div class="content-page">
<div class="content">
<div class="container">
<% if notice %>
<div class="alert alert-success">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
<%= notice %>
</div>
<% end %>
<%= yield %>
</div>
</div>
</div>
</div>
</body>
<% end %>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment