philomena/lib/philomena_web/templates/report/new.html.slime

66 lines
1.9 KiB
Text
Raw Normal View History

2019-12-04 05:14:56 +01:00
h2 Submit a report
p
strong
= link_to_reported_thing(@conn, @reportable)
.image-other
.dnp-warning
h3 Reporting Tips
ul
li
' Make sure to report for the correct
= link "rule", to: "/pages/rules"
' .
li One report per problem (mention all things affected, please).
li
strong Do not report someone just because they disagree with you. Abusing the report system is a bannable offense.
br
= if image?(@changeset) do
.dnp-warning
h3 Takedown Policy
p
strong> Only an owner of an image's rights (normally the artist) can request a takedown.
' If you're the artist, you'll
strong> need
' a verified user link.
p
' For more information, please read the
= link "takedown policy", to: "/pages/takedowns"
' .
br
= if conversation?(@changeset) do
.dnp-warning
h3 Privacy note
p
' The whole conversation will be readable by site staff.
br
= form_for @changeset, @action, fn f ->
.field
= select f, :category, report_categories(), class: "input"
.block
.block__header.block__header--js-tabbed
a.selected href="#" data-click-tab="write"
i.fas.fa-edit>
' Edit
a href="#" data-click-tab="preview"
i.fa.fa-eye>
' Preview
.block__tab.communication-edit__tab.selected data-tab="write"
= render PhilomenaWeb.TextileView, "_help.html", conn: @conn
= render PhilomenaWeb.TextileView, "_toolbar.html", conn: @conn
.field
= textarea f, :reason, class: "input input--wide input--text js-preview-input js-toolbar-input", placeholder: "Provide anything else we should know here."
.block__tab.communication-edit__tab.hidden data-tab="preview"
' [Loading preview...]
2019-12-04 05:14:56 +01:00
2020-09-12 19:43:16 +02:00
= render PhilomenaWeb.CaptchaView, "_captcha.html", name: "report", conn: @conn
2019-12-04 05:14:56 +01:00
2020-09-12 19:43:16 +02:00
= submit "Send Report", class: "button"