I have generated normal reset password portlet for non-admin users and inserted it to the page, but it seems not to be working. It just does nothing while submitted.
The code of portlet is the standard:
<% if flash_scope = flash[:reset_password] -%>
<% if flash_scope[:error] -%>
<span class="reset-password-error"><%= flash_scope[:error] %></span>
<% end -%>
<% if flash_scope[:notice] -%>
<span class="reset-password-notice"><%= flash_scope[:notice] %></span>
<% end -%>
<% end -%>
<%= form_tag '' do %>
<% if params[:token] -%>
<%= hidden_field_tag "token", params[:token] %>
<% end -%>
<label for="password">New Password:</label>
<%= password_field_tag "password" %><br>
<label for="password_confirmation">Confirm New Password:</label>
<%= password_field_tag "password_confirmation" %><br>
<%= submit_tag "Reset Password" %>
<% end %>
Am I missing something?