summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-04 10:44:04 +0000
committerPhil Hughes <me@iamphill.com>2016-03-04 10:44:04 +0000
commitda6e38a889d4725a50fbe0bf8a3ca1d3e53d01c3 (patch)
tree6dbe767aa14e16260de1f3c0d46c01cd8c9aa3a4 /app/views/projects
parente033b9a7f19223e4fbad6fa3c712c82f49e47244 (diff)
downloadgitlab-ce-da6e38a889d4725a50fbe0bf8a3ca1d3e53d01c3.tar.gz
Fixed tests for comment forms
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/notes/_form.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/notes/_form.html.haml b/app/views/projects/notes/_form.html.haml
index 2b293e4770d..f675f092da1 100644
--- a/app/views/projects/notes/_form.html.haml
+++ b/app/views/projects/notes/_form.html.haml
@@ -15,5 +15,5 @@
.note-form-actions.clearfix
= f.submit 'Comment', class: "btn btn-nr btn-create comment-btn btn-grouped js-comment-button"
= yield(:note_actions)
- %a.btn.btn-cancel.js-note-discard{role: "button"}
+ %a.btn.btn-cancel.js-note-discard{role: "button", data: {cancel_text: "Cancel"}}
Discard draft