mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
23 lines
1 KiB
Text
23 lines
1 KiB
Text
<div class="modal fade"
|
|
id="modal-destroy-team"
|
|
tabindex="-1"
|
|
role="dialog"
|
|
aria-labelledby="modal-destroy-team-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" id="modal-destroy-team-label"><%= t("users.settings.teams.edit.modal_destroy_team.title") %></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<%= t("users.settings.teams.edit.modal_destroy_team.message", team: team.name) %>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<%= bootstrap_form_tag url: destroy_team_path(team), method: :delete do |f| %>
|
|
<button type="button" class="btn btn-default" data-dismiss="modal"><%= t('general.cancel') %></button>
|
|
<%= f.submit t("users.settings.teams.edit.modal_destroy_team.confirm"), class: "btn btn-danger" %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|