mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Fix a bug introduced in last release refactoring.
This commit is contained in:
parent
d613c25426
commit
9668640908
4 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue