scinote-web/app/views/projects/index/modals/_project_folder_delete.html.erb

27 lines
1.2 KiB
Text
Raw Normal View History

<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">&times;</span>
</button>
<h2 class="modal-title"><%= t('projects.index.modal_delete_folders.title') %></h2>
</div>
<div class="modal-body">
<p><%= t('projects.index.modal_delete_folders.description_1_html', number: project_folder_ids.size) %></p>
<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',
params: { project_folder_ids: project_folder_ids },
method: :post,
2021-02-11 05:11:42 +08:00
remote: true %>
</div>
</div>
</div>
</div>