diff options
author | Jacob Schatz <jschatz1@gmail.com> | 2016-05-26 10:47:36 -0400 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-06-17 11:52:22 +0100 |
commit | 3d5b1c35d30542b7344dac426d1c2acaeabd9aca (patch) | |
tree | 6ffa4681062b99b3bf0a6a134d62cc1282a3ed14 /app/views | |
parent | 0fd56975ea57c2c646034ab929f6839c6e7a6a02 (diff) | |
download | gitlab-ce-3d5b1c35d30542b7344dac426d1c2acaeabd9aca.tar.gz |
Initial markdown ez buttons
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/issuable/_form.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/shared/issuable/_form.html.haml b/app/views/shared/issuable/_form.html.haml index c30bdb0ae91..974ccb6fadc 100644 --- a/app/views/shared/issuable/_form.html.haml +++ b/app/views/shared/issuable/_form.html.haml @@ -147,5 +147,4 @@ .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?" }, - 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' + = link_to 'Cancel', polymorphic_path([@project.namespace.becomes(Namespace), @project, issuable]), class: 'btn btn-grouped btn-cancel'
\ No newline at end of file |