Commit 92a0c329 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Valery Sizov

Improve wording in abuse report form

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8b7a2690
...@@ -9,7 +9,8 @@ class AbuseReportsController < ApplicationController ...@@ -9,7 +9,8 @@ class AbuseReportsController < ApplicationController
@abuse_report.reporter = current_user @abuse_report.reporter = current_user
if @abuse_report.save if @abuse_report.save
redirect_to root_path, notice: 'Thank you for report. GitLab administrator will be able to see it' message = "Thank you for your report. A GitLab administrator will look into it shortly."
redirect_to root_path, notice: message
else else
render :new render :new
end end
......
- page_title "Report abuse" - page_title "Report abuse"
%h3.page-title Report abuse %h3.page-title Report abuse
%p Please use this form if user makes spam or inappropriate content %p Please use this form to report users who create spam issues or comments or who otherwise behave inappropriately.
%hr %hr
= form_for @abuse_report, html: { class: 'form-horizontal'} do |f| = form_for @abuse_report, html: { class: 'form-horizontal'} do |f|
= f.hidden_field :user_id = f.hidden_field :user_id
...@@ -18,9 +18,7 @@ ...@@ -18,9 +18,7 @@
.col-sm-10 .col-sm-10
= f.text_area :message, class: "form-control", rows: 2, required: true = f.text_area :message, class: "form-control", rows: 2, required: true
.help-block .help-block
Explain the problem with this account. Explain the problem with this user. If appropriate, provide a link to the relevant issue or comment.
%br
If user sends spam please provide a link to spam issue or comment
.form-actions .form-actions
= f.submit "Send report", class: "btn btn-create" = f.submit "Send report", class: "btn btn-create"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment