Sha256: 3d6feefcc9d943d73169cf94595fff005ecbfa6d56a5e07e1616834f49121e68

Contents?: true

Size: 673 Bytes

Versions: 8

Compression:

Stored size: 673 Bytes

Contents

<%= content_for :toolbar do %>
  <%= render Alchemy::Admin::ToolbarButton.new(
    icon: 'angle-double-left',
    url: request.referer || alchemy.admin_dashboard_path,
    label: Alchemy.t(:back),
    title: Alchemy.t(:back),
    hotkey: 'alt+z',
    dialog: false,
    skip_permission_check: true
  ) %>
<% end %>

<% content_for(:alchemy_body_class) { 'error' } %>

<%= render_message(:error) do %>
  <h1><%= Alchemy.t('An error happened') %></h1>
  <h2>
    <%= @error.class %>
    <%= @notice %>
  </h2>
  <details>
    <summary><%= Alchemy.t('Show error details') %></summary>
    <% @trace.each do |line| %>
      <%= line %><br>
    <% end %>
  </details>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
alchemy_cms-7.2.8 app/views/alchemy/base/500.html.erb
alchemy_cms-7.2.7 app/views/alchemy/base/500.html.erb
alchemy_cms-7.2.6 app/views/alchemy/base/500.html.erb
alchemy_cms-7.2.5 app/views/alchemy/base/500.html.erb
alchemy_cms-7.2.4 app/views/alchemy/base/500.html.erb
alchemy_cms-7.2.3 app/views/alchemy/base/500.html.erb
alchemy_cms-7.2.2 app/views/alchemy/base/500.html.erb
alchemy_cms-7.2.1 app/views/alchemy/base/500.html.erb