Skip to content
Snippets Groups Projects
Commit 92a0c329 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets Committed by Valery Sizov
Browse files

Improve wording in abuse report form

parent 8b7a2690
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -9,7 +9,8 @@ def create
@abuse_report.reporter = current_user
 
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
render :new
end
Loading
Loading
- 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
= form_for @abuse_report, html: { class: 'form-horizontal'} do |f|
= f.hidden_field :user_id
Loading
Loading
@@ -18,9 +18,7 @@
.col-sm-10
= f.text_area :message, class: "form-control", rows: 2, required: true
.help-block
Explain the problem with this account.
%br
If user sends spam please provide a link to spam issue or comment
Explain the problem with this user. If appropriate, provide a link to the relevant issue or comment.
 
.form-actions
= f.submit "Send report", class: "btn btn-create"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment