ensl.org/app/views/layouts/errors.html.erb

25 lines
723 B
Text
Raw Normal View History

2014-04-26 17:47:17 +00:00
<!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">
2014-05-16 21:24:49 +00:00
<%= favicon_link_tag 'shared/favicon.ico' %>
2014-05-11 12:00:09 +00:00
<%= stylesheet_link_tag "themes/#{active_theme}/errors" %>
2014-04-26 17:47:17 +00:00
</head>
<body>
<div id="error">
<div class="message">
<div id="logo">
2014-05-11 12:00:09 +00:00
<%= link_to image_tag("themes/#{active_theme}/logo.png"), root_path %>
2014-04-26 17:47:17 +00:00
</div>
<div id="code">
<h1><%= params[:code] %></h1>
</div>
<%= yield %>
</div>
</div>
</body>
</html>