422.html 661 B

1234567891011121314151617181920
  1. <!DOCTYPE html>
  2. <html class="dark">
  3. <meta charset="utf-8">
  4. <title>422: Unprocessable Entity</title>
  5. <link rel="stylesheet" href="/assets/error/style.css">
  6. <body <% if @traceback %>class="error-message"<% end %>>
  7. <h1>422: The change you wanted was rejected.</h1>
  8. <% if !@traceback %>
  9. <div class="error-image" style="background-image: url(/assets/error/error-1.svg)"></div>
  10. <p>Maybe you tried to change something you didn't have access to.</p>
  11. <% else %>
  12. <div><%= @exception.message %></div>
  13. <% if @exception.backtrace %>
  14. <div>Traceback:</div>
  15. <% @exception.backtrace.each {|row| %>
  16. <%= row %><br>
  17. <% } %>
  18. <% end %>
  19. <% end %>
  20. </html>