Skip to content

Instantly share code, notes, and snippets.

@5st7
Created June 24, 2020 09:36
Show Gist options
  • Save 5st7/21253cf60d3d5745dcb500fb7967dd5b to your computer and use it in GitHub Desktop.
Save 5st7/21253cf60d3d5745dcb500fb7967dd5b to your computer and use it in GitHub Desktop.
shiorin
<!DOCTYPE html>
<html>
<head>
<title><%= full_title(yield(:title)) %></title>
<%= csrf_meta_tags %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<%= render 'layouts/shim' %>
</head>
<body>
<%= render 'layouts/header' %>
<div class="container">
<div id="app">
</div>
<% flash.each do |message_type, message| %>
<div class="alert alert-<%= message_type %>"><%= message %></div>
<% end %>
<%= yield %>
<%= render 'layouts/footer' %>
<%= debug(params) if Rails.env.development? %>
</div>
<%= javascript_pack_tag 'index' %>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment