2021-01-22 02:42:25 +08:00
|
|
|
<div class="modal modal-project-folder-delete" role="dialog" aria-hidden="true" tabindex="-1">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
2023-08-17 19:55:17 +08:00
|
|
|
<i class="sn-icon sn-icon-close"></i>
|
2021-01-22 02:42:25 +08:00
|
|
|
</button>
|
|
|
|
<h2 class="modal-title"><%= t('projects.index.modal_delete_folders.title') %></h2>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2023-05-04 20:59:16 +08:00
|
|
|
<p><%= t('projects.index.modal_delete_folders.description_1_html', number: project_folder_ids.size) %></p>
|
2021-01-22 02:42:25 +08:00
|
|
|
<p><%= t('projects.index.modal_delete_folders.description_2') %></p>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
2023-06-19 21:45:22 +08:00
|
|
|
<button type='button' class='btn btn-secondary' data-dismiss='modal'><%= t('general.cancel')%></button>
|
2021-02-11 05:11:42 +08:00
|
|
|
<%= button_to t('projects.index.modal_delete_folders.confirm_button'),
|
|
|
|
destroy_project_folders_path,
|
|
|
|
class: 'btn btn-danger',
|
|
|
|
form_class: 'delete-folders-form',
|
2023-05-04 20:59:16 +08:00
|
|
|
params: { project_folder_ids: project_folder_ids },
|
2023-06-21 20:13:20 +08:00
|
|
|
method: :post,
|
2021-02-11 05:11:42 +08:00
|
|
|
remote: true %>
|
2021-01-22 02:42:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|