<%= t "devise.invitations.edit.header" %>

<%= decidim_form_for resource, as: resource_name, url: invitation_path(resource_name, invite_redirect: params[:invite_redirect]), html: { method: :put, class: "register-form new_user" } do |f| %> <%= f.hidden_field :invitation_token %> <% if f.object.class.require_password_on_accepting %> <%= f.password_field :password %>

<%= f.password_field :password_confirmation %>

<% end %>

<%= f.submit t("devise.invitations.edit.submit_button", class: "button expanded") %>

<% end %>