Sha256: 94ee246fefb0b37c9df7b1cc89d2e8dfdead0238c9bdc1ad5f15b7e6e7ab88f7
Contents?: true
Size: 854 Bytes
Versions: 16
Compression:
Stored size: 854 Bytes
Contents
<%= content_for :toolbar do %> <%= toolbar_button( 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> <p class="hidden"> <% @trace.each do |line| %> <%= line %><br> <% end %> </p> <a href="#" class="error_details--toggle"> <%= Alchemy.t('Show error details') %> </a> <% end %> <script> $(function(){ $('.error_details--toggle').on("click", function(){ $('.error.message p').toggleClass('hidden'); return false; }); }); </script>
Version data entries
16 entries across 16 versions & 1 rubygems