diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-05-27 08:04:05 -0400 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-17 11:52:22 +0100 |
commit | 92ed066ff59d02b070a2a80d9845e019be764f6f (patch) | |
tree | 0b04b0c08d08cde5eb17203914ef161a2f20084e | |
parent | 5eeccafca43839d50f228b98346c03bd169136bc (diff) | |
download | gitlab-ce-92ed066ff59d02b070a2a80d9845e019be764f6f.tar.gz |
Fix syntax error. Remove whitespace
-rw-r--r-- | app/views/shared/issuable/_form.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/issuable/_form.html.haml b/app/views/shared/issuable/_form.html.haml index 974ccb6fadc..1f364be5b1c 100644 --- a/app/views/shared/issuable/_form.html.haml +++ b/app/views/shared/issuable/_form.html.haml @@ -146,5 +146,5 @@ - else .pull-right - if current_user.can?(:"destroy_#{issuable.to_ability_name}", @project) - = link_to 'Delete', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable]), data: { confirm: "#{issuable.class.name.titleize} will be removed! Are you sure?" }, - = link_to 'Cancel', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable]), class: 'btn btn-grouped btn-cancel'
\ No newline at end of file + = link_to 'Delete', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable]), data: { confirm: "#{issuable.class.name.titleize} will be removed! Are you sure?" }, method: :delete, class: 'btn btn-danger btn-grouped' + = link_to 'Cancel', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable]), class: 'btn btn-grouped btn-cancel'
\ No newline at end of file |