<!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">
    <%= favicon_link_tag 'shared/favicon.ico' %>
    <%= stylesheet_link_tag "themes/default/errors" %>
  </head>
  <body>
    <div id="error">
      <div class="message">
        <div id="logo">
          <%= link_to image_tag("themes/default/logo.png"), root_path %>
        </div>
        <div id="code">
          <h1><%= params[:code] %></h1>
        </div>
        <%= yield %>  
      </div>
    </div>
  </body>
</html>