diff options
| author | Phil Hughes <me@iamphill.com> | 2016-03-04 08:42:22 +0000 |
|---|---|---|
| committer | Phil Hughes <me@iamphill.com> | 2016-03-04 08:42:22 +0000 |
| commit | e033b9a7f19223e4fbad6fa3c712c82f49e47244 (patch) | |
| tree | 602ac7fb2b19efc3f99f938be70295ffd864a125 /app/views/projects/notes | |
| parent | f8c4dc97230c520df077c1274fd8d88680da5242 (diff) | |
| download | gitlab-ce-e033b9a7f19223e4fbad6fa3c712c82f49e47244.tar.gz | |
Added discard button to comment form
Also changed the labels on the buttons to better match the action they are completing.
Closes #8057
Diffstat (limited to 'app/views/projects/notes')
| -rw-r--r-- | app/views/projects/notes/_form.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/notes/_form.html.haml b/app/views/projects/notes/_form.html.haml index 09740d8ea12..2b293e4770d 100644 --- a/app/views/projects/notes/_form.html.haml +++ b/app/views/projects/notes/_form.html.haml @@ -13,6 +13,7 @@ .error-alert .note-form-actions.clearfix - = f.submit 'Add Comment', class: "btn btn-nr btn-create comment-btn btn-grouped js-comment-button" + = f.submit 'Comment', class: "btn btn-nr btn-create comment-btn btn-grouped js-comment-button" = yield(:note_actions) - %a.btn.btn-nr.btn-cancel.js-close-discussion-note-form Cancel + %a.btn.btn-cancel.js-note-discard{role: "button"} + Discard draft |
