tap/app/views/layouts/application.html.erb
2015-03-19 14:59:37 +01:00

24 lines
708 B
Text

<!DOCTYPE html>
<html>
<head>
<title>Taþ - Zeus WPIs drinking and billing system</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
</head>
<% if current_user && current_user.koelkast? && !Rails.env.development? %>
<body oncontextmenu="return false">
<% else %>
<body>
<% end %>
<%= render 'layouts/header' %>
<div class="container">
<div class="container">
<%= yield %>
</div>
<%= render 'layouts/footer' %>
<%= debug(params) if Rails.env.development? %>
</div>
</body>
</html>