Sha256: 0312c20f9061fecda99886a29ddc3c8e506a271b8548dcad87308addaaee1784

Contents?: true

Size: 766 Bytes

Versions: 10

Compression:

Stored size: 766 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' } %>

<%= turbo_frame_tag request.headers["Turbo-Frame"] do %>
  <%= 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 %>
<% end %>

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
alchemy_cms-7.4.2 app/views/alchemy/base/500.html.erb
alchemy_cms-7.3.6 app/views/alchemy/base/500.html.erb
alchemy_cms-7.4.1 app/views/alchemy/base/500.html.erb
alchemy_cms-7.4.0 app/views/alchemy/base/500.html.erb
alchemy_cms-7.3.5 app/views/alchemy/base/500.html.erb
alchemy_cms-7.3.4 app/views/alchemy/base/500.html.erb
alchemy_cms-7.3.3 app/views/alchemy/base/500.html.erb
alchemy_cms-7.3.2 app/views/alchemy/base/500.html.erb
alchemy_cms-7.3.1 app/views/alchemy/base/500.html.erb
alchemy_cms-7.3.0 app/views/alchemy/base/500.html.erb