2016-12-02 16:33:09 +08:00
|
|
|
<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>
|
2017-01-25 19:01:23 +08:00
|
|
|
<%= bootstrap_form_for [team, sample_group], html: { method: :delete } do |f| %>
|
2016-12-02 16:33:09 +08:00
|
|
|
<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>
|