gitlab-org--gitlab-foss/app/views/shared/_delete_label_modal.html.haml

22 lines
741 B
Text
Raw Normal View History

2018-01-26 17:42:42 -05:00
.modal{ id: "modal-delete-label-#{label.id}", tabindex: -1 }
.modal-dialog
.modal-content
.modal-header
%h3.page-title Delete #{render_label(label, tooltip: false)} ?
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } ×
2018-01-26 17:42:42 -05:00
.modal-body
%p
2018-01-29 10:37:56 -05:00
%strong= label.name
%span will be permanently deleted from #{label.subject_name}. This cannot be undone.
2018-01-26 17:42:42 -05:00
.modal-footer
%a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-default' } Cancel
= link_to 'Delete label',
label.destroy_path,
2018-01-26 17:42:42 -05:00
title: 'Delete',
method: :delete,
class: 'btn btn-remove'