422.html 783 B

12345678910111213141516171819202122232425
  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 @message.present? %>
  9. <div><%= @message %></div>
  10. <% end %>
  11. <% if !@traceback %>
  12. <div class="error-image" style="background-image: url(/assets/error/error-1.svg)"></div>
  13. <p>Maybe you tried to change something you didn't have access to.</p>
  14. <% else %>
  15. <% if @exception.message != @message %>
  16. <div><%= @exception.message %></div>
  17. <% end %>
  18. <% if @exception.backtrace %>
  19. <div>Traceback:</div>
  20. <% @exception.backtrace.each {|row| %>
  21. <%= row %><br>
  22. <% } %>
  23. <% end %>
  24. <% end %>
  25. </html>