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">
|
|
|
|
<span aria-hidden="true">×</span>
|
|
|
|
</button>
|
|
|
|
<h2 class="modal-title"><%= t('projects.index.modal_delete_folders.title') %></h2>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body">
|
2021-02-12 01:27:16 +08:00
|
|
|
<p><%= t('projects.index.modal_delete_folders.description_1_html', number: project_folders_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">
|
2021-02-11 05:11:42 +08:00
|
|
|
<button type='button' class='btn btn-default' data-dismiss='modal'><%= t('general.cancel')%></button>
|
|
|
|
<%= button_to t('projects.index.modal_delete_folders.confirm_button'),
|
|
|
|
destroy_project_folders_path,
|
|
|
|
class: 'btn btn-danger',
|
|
|
|
form_class: 'delete-folders-form',
|
2021-02-12 01:27:16 +08:00
|
|
|
params: { project_folders_ids: project_folders_ids },
|
2021-02-11 05:11:42 +08:00
|
|
|
remote: true %>
|
2021-01-22 02:42:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|