scinote-web/app/views/sample_groups/_delete_sample_group_modal.html.erb
2016-12-02 09:33:09 +01:00

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">&times;</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 [organization, 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>