2023-02-13 16:50:39 +08:00
|
|
|
<div id="deleteDraftModal" class="modal" tabindex="-1" role="dialog">
|
|
|
|
<div class="modal-dialog modal-sm" role="document">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
|
|
|
|
<h4 class="modal-title">
|
|
|
|
<%= t('protocols.delete_draft_modal.title') %>
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
|
|
|
<p><%= t('protocols.delete_draft_modal.description_1') %></p>
|
|
|
|
<p><b><%= t('protocols.delete_draft_modal.description_2') %></b></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2023-02-24 23:17:36 +08:00
|
|
|
<button class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
|
2023-06-21 20:13:20 +08:00
|
|
|
<%= button_to '', class: "btn btn-danger", method: :post, remote: true do %>
|
2023-02-13 16:50:39 +08:00
|
|
|
<%= t('protocols.delete_draft_modal.confirm') %>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|