I created a form to my User database change his password, as it follows :
<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |f| %>
<%= devise_error_messages! %>
<%= f.hidden_field :reset_password_token %>
<div class="container">
<form action="/action_page.php">
<%= f.label :password, "Nova senha" %><br />
<% if @minimum_password_length %>
<em>(Mínimo de <%= @minimum_password_length %> caracteres)</em><br />
<% end %>
<%= f.password_field :password, autofocus: true, autocomplete: "off" %>
</div>
<div class="container">
<%= f.label :password_confirmation, "Confirmar nova senha" %><br />
<%= f.password_field :password_confirmation, autocomplete: "off" %>
</form>
</div>
<div class="actions">
<%= f.submit "Alterar minha senha" %>
</div>
<% end %>
The problem about it is that my f.submit "Alterar minha senha" is not working, it doesn't receive the action of my click. How can I fix it ?