|
| 1 | +<%= link_to safety_center_path do %> |
| 2 | + « Back to Safety Center |
| 3 | +<% end %> |
| 4 | + |
| 5 | +<h1>Make a report or complaint</h1> |
| 6 | +<p> |
| 7 | + Thank you for taking the time to make a report. If you've seen harmful, abusive, or illegal content on our |
| 8 | + communities, you can report this to us here. You can also use this page if you've received a message saying we've |
| 9 | + classified your content as harmful, abusive, or illegal and you wish to contest it. |
| 10 | +</p> |
| 11 | + |
| 12 | +<div class="notice is-warning has-color-yellow-900 flex-row-always ai-c has-font-size-caption h-m-b-4"> |
| 13 | + <i class="fas fa-exclamation-triangle"></i> |
| 14 | + <p> |
| 15 | + Please don't use this tool to complain about moderator actions, including deletion of posts. Raise these in the |
| 16 | + appropriate Meta category instead. |
| 17 | + </p> |
| 18 | +</div> |
| 19 | + |
| 20 | +<div class="widget"> |
| 21 | + <%= form_tag create_complaint_path, class: 'widget--body complaint-form' do %> |
| 22 | + <div class="form-group"> |
| 23 | + <%= label_tag :report_type, 'What are you reporting?' %> |
| 24 | + <% @report_types.each do |key, type| %> |
| 25 | + <div class="form-radio-group"> |
| 26 | + <%= radio_button_tag :report_type, key, id: "report_type_#{key}", class: 'form-radio-element' %> |
| 27 | + <%= label_tag "report_type_#{key}", type['description'] %> |
| 28 | + </div> |
| 29 | + <% end %> |
| 30 | + </div> |
| 31 | + |
| 32 | + <div class="form-group"> |
| 33 | + <%= label_tag :reported_url, 'Where is this content?' %> |
| 34 | + <div class="form-caption"> |
| 35 | + Enter a URL or link to where we can find this content on our network. You can use the Copy Link button under |
| 36 | + posts to get a direct link to a post. |
| 37 | + </div> |
| 38 | + <%= text_field_tag :reported_url, nil, class: 'form-element' %> |
| 39 | + </div> |
| 40 | + |
| 41 | + <div class="form-group hidden js-content-type" data-report-type="illegal"> |
| 42 | + <%= label_tag :content_type, 'Does this content fall into any of these types of illegal content?' %> |
| 43 | + <div class="form-caption"> |
| 44 | + This question helps us to classify reports and ensure harmful content is reported to the right channels. |
| 45 | + </div> |
| 46 | + <% @content_types.each do |key, type| %> |
| 47 | + <div class="form-radio-group"> |
| 48 | + <%= radio_button_tag :content_type, key, id: "content_type_#{key}", class: 'form-radio-element', |
| 49 | + data: { report_type: 'illegal' } %> |
| 50 | + <div> |
| 51 | + <%= label_tag "content_type_#{key}", type['name'] %> |
| 52 | + <div class="form-caption"> |
| 53 | + <%= type['description'] %> |
| 54 | + </div> |
| 55 | + </div> |
| 56 | + </div> |
| 57 | + <% end %> |
| 58 | + <div class="form-radio-group"> |
| 59 | + <%= radio_button_tag :content_type, 'none', id: 'content_type_none', class: 'form-radio-element', |
| 60 | + data: { report_type: 'illegal' } %> |
| 61 | + <%= label_tag 'content_type_none', 'None of the above' %> |
| 62 | + </div> |
| 63 | + </div> |
| 64 | + |
| 65 | + <div class="form-group"> |
| 66 | + <%= label_tag :comment, 'Tell us more' %> |
| 67 | + <div class="form-caption" data-report-type="none"> |
| 68 | + Tell us any additional information you have about this report. |
| 69 | + </div> |
| 70 | + <div class="form-caption hidden" data-report-type="illegal"> |
| 71 | + Tell us any additional information you have about this report. For example, why do you think this content is |
| 72 | + harmful or illegal? How did you come across it? Has the user posted any other content you wish to report? |
| 73 | + </div> |
| 74 | + <div class="form-caption hidden" data-report-type="abusive"> |
| 75 | + Tell us any additional information you have about this report. For example, why do you think this content is |
| 76 | + abusive, or in what way is it harmful? Has the user posted any other content you wish to report? |
| 77 | + </div> |
| 78 | + <div class="form-caption hidden" data-report-type="copyright"> |
| 79 | + Tell us any additional information you have about this report. Do you own the copyright? What part of the |
| 80 | + content is infringing? |
| 81 | + </div> |
| 82 | + <div class="form-caption hidden" data-report-type="appeal"> |
| 83 | + Tell us any additional information you have about this report. Is there any additional content we removed that |
| 84 | + you would like to include? Provide detailed reasoning explaining why you disagree with our classification. |
| 85 | + </div> |
| 86 | + <%= text_area_tag :comment, nil, class: 'form-element', rows: 10 %> |
| 87 | + </div> |
| 88 | + |
| 89 | + <div class="form-group"> |
| 90 | + <%= label_tag :user_email, 'Your email address' %> |
| 91 | + <div class="form-caption"> |
| 92 | + This is used for abuse prevention purposes, and to contact you if we need additional information or to update |
| 93 | + you on the status of your report. If you do not wish to receive further updates about your report, please |
| 94 | + opt out below. |
| 95 | + </div> |
| 96 | + <%= text_field_tag :user_email, user_signed_in? ? current_user.email : nil, class: 'form-element', |
| 97 | + disabled: user_signed_in? %> |
| 98 | + </div> |
| 99 | + |
| 100 | + <div class="form-group"> |
| 101 | + <%= label_tag :updates, 'Do you wish to receive updates about this report?' %> |
| 102 | + <div class="form-caption"> |
| 103 | + We will let you know once we have investigated your report, and once we've taken any necessary action and closed |
| 104 | + your report. If you do not wish to receive these updates, please untick the box. |
| 105 | + </div> |
| 106 | + <div class="form-radio-group"> |
| 107 | + <%= check_box_tag :user_wants_updates, 'true', true, class: 'form-radio-element' %> |
| 108 | + <%= label_tag :user_wants_updates, 'Receive updates?' %> |
| 109 | + </div> |
| 110 | + </div> |
| 111 | + |
| 112 | + <%= submit_tag 'Submit report', class: 'button is-primary is-filled' %> |
| 113 | + <% end %> |
| 114 | +</div> |
0 commit comments