mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Fix a bug introduced in last release refactoring.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<h2>Resend confirmation instructions</h2>
|
||||
|
||||
<% form_for resource, :url => confirmation_path(resource_name) do |f| %>
|
||||
<% form_for resource_name, resource, :url => confirmation_path(resource_name) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<p><%= f.label :email %></p>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h2>Change your password</h2>
|
||||
|
||||
<% form_for resource, :url => password_path(resource_name), :html => { :method => :put } do |f| %>
|
||||
<% form_for resource_name, resource, :url => password_path(resource_name), :html => { :method => :put } do |f| %>
|
||||
<%= f.error_messages %>
|
||||
<%= f.hidden_field :reset_password_token %>
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h2>Forgot your password?</h2>
|
||||
|
||||
<% form_for resource, :url => password_path(resource_name) do |f| %>
|
||||
<% form_for resource_name, resource, :url => password_path(resource_name) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<p><%= f.label :email %></p>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<h2>Sign in</h2>
|
||||
|
||||
<% form_for resource, :url => session_path(resource_name) do |f| -%>
|
||||
<% form_for resource_name, resource, :url => session_path(resource_name) do |f| -%>
|
||||
<p><%= f.label :email %></p>
|
||||
<p><%= f.text_field :email %></p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user