ensl.org/app/views/layouts/errors.html.erb
2014-04-26 18:47:17 +01:00

24 lines
689 B
Text

<!doctype html>
<html>
<head>
<title><%= full_title(yield(:title)) %> | Error <%= params[:code] %></title>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="icon" type="image/png" href="/favicon.png" />
<%= stylesheet_link_tag 'errors' %>
</head>
<body>
<div id="error">
<div class="message">
<div id="logo">
<%= link_to image_tag("logo.png"), root_path %>
</div>
<div id="code">
<h1><%= params[:code] %></h1>
</div>
<%= yield %>
</div>
</div>
</body>
</html>