debian-mirror-gitlab/app/views/shared/_delete_label_modal.html.haml

22 lines
723 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
.modal{ id: "modal-delete-label-#{label.id}", tabindex: -1 }
.modal-dialog
.modal-content
.modal-header
2020-04-08 14:13:33 +05:30
%h3.page-title Delete label: #{label.name} ?
2018-11-08 19:23:39 +05:30
%button.close{ type: "button", "data-dismiss": "modal", "aria-label" => _('Close') }
%span{ "aria-hidden": true } ×
2018-03-17 18:26:18 +05:30
.modal-body
%p
%strong= label.name
2019-07-31 22:56:46 +05:30
%span will be permanently deleted from #{label.subject_name}. This cannot be undone.
2018-03-17 18:26:18 +05:30
.modal-footer
%a{ href: '#', data: { dismiss: 'modal' }, class: 'btn btn-default' } Cancel
= link_to 'Delete label',
2019-07-31 22:56:46 +05:30
label.destroy_path,
2018-03-17 18:26:18 +05:30
title: 'Delete',
method: :delete,
class: 'btn btn-remove'