2018-01-26 17:42:42 -05:00
|
|
|
.modal{ id: "modal-delete-label-#{label.id}", tabindex: -1 }
|
|
|
|
.modal-dialog
|
|
|
|
.modal-content
|
|
|
|
.modal-header
|
2020-02-25 10:08:50 -05:00
|
|
|
%h3.page-title Delete label: #{label.name} ?
|
2018-06-01 10:01:37 -04:00
|
|
|
%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
|
2019-05-28 06:05:20 -04:00
|
|
|
%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',
|
2019-04-23 15:58:20 -04:00
|
|
|
label.destroy_path,
|
2018-01-26 17:42:42 -05:00
|
|
|
title: 'Delete',
|
|
|
|
method: :delete,
|
|
|
|
class: 'btn btn-remove'
|