We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37d9985 + 737a224 commit 540f82bCopy full SHA for 540f82b
app/views/devise/invitations/edit.html.erb
@@ -1,7 +1,7 @@
1
<div class="password-box px-4 pb-3">
2
<h2 class="my-3">Send invitation</h2>
3
4
- <%= form_with(model: resource, as: resource_name, url: invitation_path(resource_name), html: {method: :put}) do |f| %>
+ <%= form_with(model: resource, as: resource_name, url: invitation_path(resource_name), local: true, html: {method: :put}) do |f| %>
5
<%= render "/shared/error_messages", resource: resource %>
6
<%= f.hidden_field :invitation_token, readonly: true %>
7
0 commit comments