summaryrefslogtreecommitdiff
path: root/app/views/abuse_reports/new.html.haml
diff options
context:
space:
mode:
authorJosh Frye <joshfng@gmail.com>2016-01-12 12:36:28 -0500
committerJosh Frye <joshfng@gmail.com>2016-01-16 10:47:12 -0500
commitc70ed7f2cdc0fbecea739a08332529b71325938c (patch)
treedd50fff1b8746fedaea49aa3765ee5a19318d64b /app/views/abuse_reports/new.html.haml
parent5cd2f77769d968d10cc8e4371e88ff8be9f28c8c (diff)
downloadgitlab-ce-c70ed7f2cdc0fbecea739a08332529b71325938c.tar.gz
Autofill abuse message text with user url. Closes #2838
Diffstat (limited to 'app/views/abuse_reports/new.html.haml')
-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.