openaustralia/planningalerts

View on GitHub
app/views/_tailwind/documentation/error_500.html.erb

Summary

Maintainability
Test Coverage
<% content_for :page_title, "We're sorry, but something went wrong (500)" %>

<%= render Tailwind::CentreBlockWithImage.new do |c| %>
  <% c.with_heading do %>
    We're sorry, but something went wrong
  <% end %>

  <% c.with_image do %>
    <%= image_tag "tailwind/illustration/500.svg" %>
  <% end %>

  <div class="text-xl text-navy">
    <p>
      We've been notified about this issue and we'll take a look at it shortly.
    </p>

    <p class="mt-8">
      <%= pa_link_to "Go to our home page", root_url %>
    </p>
  </div>
<% end %>