mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Solved deprecation warnings
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
parent
0bd75469ba
commit
71f74a10f7
7 changed files with 7 additions and 7 deletions
|
@ -1,6 +1,6 @@
|
|||
<h2>Resend confirmation instructions</h2>
|
||||
|
||||
<%= form_for(resource_name, resource, :url => confirmation_path(resource_name)) do |f| %>
|
||||
<%= form_for(resource, :as => resource_name, :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_name, resource, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
|
||||
<%= form_for(resource, :as => resource_name, :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_name, resource, :url => password_path(resource_name)) do |f| %>
|
||||
<%= form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<p><%= f.label :email %></p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2>Edit <%= resource_name.to_s.humanize %></h2>
|
||||
|
||||
<%= form_for(resource_name, resource, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
|
||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<p><%= f.label :email %></p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2>Sign up</h2>
|
||||
|
||||
<%= form_for(resource_name, resource, :url => registration_path(resource_name)) do |f| %>
|
||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
<p><%= f.label :email %></p>
|
||||
<p><%= f.text_field :email %></p>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2>Sign in</h2>
|
||||
|
||||
<%= form_for(resource_name, resource, :url => session_path(resource_name)) do |f| %>
|
||||
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
|
||||
<p><%= f.label :email %></p>
|
||||
<p><%= f.text_field :email %></p>
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<h2>Resend unlock instructions</h2>
|
||||
|
||||
<%= form_for(resource_name, resource, :url => unlock_path(resource_name)) do |f| %>
|
||||
<%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name)) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
|
||||
<p><%= f.label :email %></p>
|
||||
|
|
Loading…
Add table
Reference in a new issue