mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-04 14:44:26 +08:00
Replace bootstrap_form_tag with form_with at _destroy_modal.html.erb [SCI-9039]
This commit is contained in:
parent
d1ea9f30cf
commit
f9e5821361
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
<%= 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| %>
|
||||
<%= form_with url: destroy_team_path(team), method: :delete do |f| %>
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
|
||||
<%= f.submit t("users.settings.teams.edit.modal_destroy_team.confirm"), class: "btn btn-danger" %>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue