mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
31 lines
1.1 KiB
Text
31 lines
1.1 KiB
Text
<div class="modal fade"
|
|
id="modal-delete"
|
|
tabindex="-1"
|
|
role="dialog"
|
|
aria-labelledby="modal-delete-label">
|
|
<div class="modal-dialog" 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('sample_groups.index.destroy_modal_title',
|
|
name: sample_group.name) %></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<%= t'sample_groups.index.destroy_modal_body' %>
|
|
</div>
|
|
<%= bootstrap_form_for [team, sample_group], html: { method: :delete } do |f| %>
|
|
<div class="modal-footer">
|
|
<input type="submit"
|
|
class="btn btn-danger"
|
|
value="<%= t'sample_groups.index.destroy_modal_submit' %>">
|
|
<button type="button"
|
|
class="btn btn-default"
|
|
data-dismiss="modal"><%= t("general.cancel")%></button>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|