openaustralia/planningalerts

View on GitHub
app/views/_tailwind/reports/thank_you.html.erb

Summary

Maintainability
Test Coverage
<% content_for :page_title, "Thank you for reporting a comment" %>

<div class="mb-8">
  <%= pa_link_to "< Back to application", @comment.application, extra_classes: "text-xl" %>
</div>

<%= render Tailwind::CentreBlockWithImage.new(extra_classes: "mt-16") do |c| %>
  <% c.with_heading.with_content(yield :page_title) %>
  <% c.with_image do %>
    <%= image_tag "tailwind/illustration/thank_you.svg", alt: "Illustration of a woman giving a thumbs up" %>
  <% end %>

  <div class="text-xl text-navy">
    <p>
      Thank you for noticing!
    </p>

    <p class="mt-6">
      A moderator will review the comment in light of your report and our guidelines and see if it should be removed or not.
      Either way we'll get back to you.
    </p>

    <p class="mt-6">
      Your action helps keep community discussions respectful and safe.
    </p>
  </div>
<% end %>