scinote-web/app/views/users/settings/teams/_destroy_modal.html.erb

24 lines
1 KiB
Text
Raw Normal View History

2017-01-25 19:01:23 +08:00
<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">
2023-08-17 19:55:17 +08:00
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><i class="sn-icon sn-icon-close"></i></button>
2017-01-25 19:01:23 +08:00
<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">
<%= form_with url: destroy_team_path(team), method: :delete do |f| %>
2023-06-19 21:45:22 +08:00
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
2018-04-26 21:19:05 +08:00
<%= f.submit t("users.settings.teams.edit.modal_destroy_team.confirm"), class: "btn btn-danger" %>
2017-01-25 19:01:23 +08:00
<% end %>
</div>
</div>
</div>
</div>