Sha256: 5c053c2bf5d6313abfa1d0126ab76a2e1fbeb4dee58de2058812cd510cdd8622

Contents?: true

Size: 858 Bytes

Versions: 4

Compression:

Stored size: 858 Bytes

Contents

<!DOCTYPE html>
<html>
  <!-- Head -->
  <head>
    <!-- Info -->
    <%= content_tag :title, "Error - #{@exception.status} (#{@exception.response.to_s.gsub("_", " ").titleize}) | #{Rails.application.class.parent_name.titleize}" %>

    <!-- Styling -->
    <%= stylesheet_link_tag :exception_handler %>
    <%= favicon_link_tag "exception_handler/favicon.ico" %>

    <!-- Auth -->
    <%= csrf_meta_tags %>
  </head>

  <!-- Body -->
  <%= content_tag :body, yield %>

  <!-- Footer -->
  <% if ExceptionHandler.config.try(:social) %>
    <%= content_tag :footer do %>
      <% ExceptionHandler.config.social.each do |k,v| %>
        <%= link_to image_tag("exception_handler/connect/#{k}.png"), ExceptionHandler::Config::SOCIAL[k] + "/" + v, id: k, title: "#{k.to_s.titleize} Feed", target: :blank if v %>
      <% end %>
    <% end %>
  <% end %>
</html>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exception_handler-0.7.6.0 app/views/layouts/exception.html.erb
exception_handler-0.7.5.15 app/views/layouts/exception.html.erb
exception_handler-0.7.5 app/views/layouts/exception.html.erb
exception_handler-0.7.0 app/views/layouts/exception.html.erb