Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-01-12 20:36:28 +0300
committerJosh Frye <joshfng@gmail.com>2016-01-16 18:47:12 +0300
commitc70ed7f2cdc0fbecea739a08332529b71325938c (patch)
treedd50fff1b8746fedaea49aa3765ee5a19318d64b /app/views/abuse_reports
parent5cd2f77769d968d10cc8e4371e88ff8be9f28c8c (diff)
Autofill abuse message text with user url. Closes #2838
Diffstat (limited to 'app/views/abuse_reports')
-rw-r--r--app/views/abuse_reports/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/abuse_reports/new.html.haml b/app/views/abuse_reports/new.html.haml
index 3e5cdd2ce4a..8d31182a3e6 100644
--- a/app/views/abuse_reports/new.html.haml
+++ b/app/views/abuse_reports/new.html.haml
@@ -16,7 +16,7 @@
.form-group
= f.label :message, class: 'control-label'
.col-sm-10
- = f.text_area :message, class: "form-control js-quick-submit", rows: 2, required: true
+ = f.text_area :message, class: "form-control js-quick-submit", rows: 2, required: true, value: @ref_url
.help-block
Explain the problem with this user. If appropriate, provide a link to the relevant issue or comment.