12345678910111213141516171819202122232425 |
- <!DOCTYPE html>
- <html class="dark">
- <meta charset="utf-8">
- <title>422: Unprocessable Entity</title>
- <link rel="stylesheet" href="/assets/error/style.css">
- <body <% if @traceback %>class="error-message"<% end %>>
- <h1>422: The change you wanted was rejected.</h1>
- <% if @message.present? %>
- <div><%= @message %></div>
- <% end %>
- <% if !@traceback %>
- <div class="error-image" style="background-image: url(/assets/error/error-1.svg)"></div>
- <p>Maybe you tried to change something you didn't have access to.</p>
- <% else %>
- <% if @exception.message != @message %>
- <div><%= @exception.message %></div>
- <% end %>
- <% if @exception.backtrace %>
- <div>Traceback:</div>
- <% @exception.backtrace.each {|row| %>
- <%= row %><br>
- <% } %>
- <% end %>
- <% end %>
- </html>
|