Fix deleting draft for the first time [SCI-8022] (#5048)

This commit is contained in:
ajugo 2023-03-01 12:02:00 +01:00 committed by GitHub
parent e16a8f033b
commit e317ca0134
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,7 @@
</div>
<div class="modal-footer">
<button class="btn btn-secondary" data-dismiss="modal"><%= t('general.cancel') %></button>
<%= button_to '', class: "btn btn-danger" do %>
<%= button_to '', class: "btn btn-danger", remote: true do %>
<%= t('protocols.delete_draft_modal.confirm') %>
<% end %>
</div>