Merge pull request #5954 from ivanscinote/SCI-9039-viewing-team-page

Remove bootstrap_form_tag [SCI-9039]
This commit is contained in:
artoscinote 2023-08-10 13:30:59 +02:00 committed by GitHub
commit c1a408f0c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 %>