diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index 4dd39de1..409b98ae 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -3,8 +3,8 @@ <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name)) do |f| %> <%= devise_error_messages! %> -
<%= f.label :email %>
-<%= f.text_field :email %>
+<%= f.label :email %>
+ <%= f.text_field :email %>
<%= f.submit "Resend confirmation instructions" %>
<% end %> diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index 224c0ed6..b2781340 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -4,11 +4,11 @@ <%= devise_error_messages! %> <%= f.hidden_field :reset_password_token %> -<%= f.label :password %>
-<%= f.password_field :password %>
+<%= f.label :password %>
+ <%= f.password_field :password %>
<%= f.label :password_confirmation %>
-<%= f.password_field :password_confirmation %>
+<%= f.label :password_confirmation %>
+ <%= f.password_field :password_confirmation %>
<%= f.submit "Change my password" %>
<% end %> diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 68734801..d5ad8451 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -3,8 +3,8 @@ <%= form_for(resource, :as => resource_name, :url => password_path(resource_name)) do |f| %> <%= devise_error_messages! %> -<%= f.label :email %>
-<%= f.text_field :email %>
+<%= f.label :email %>
+ <%= f.text_field :email %>
<%= f.submit "Send me reset password instructions" %>
<% end %> diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 9a6a0996..0f98acb8 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -3,17 +3,17 @@ <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %> <%= devise_error_messages! %> -<%= f.label :email %>
-<%= f.text_field :email %>
+<%= f.label :email %>
+ <%= f.text_field :email %>
<%= f.label :password %> (leave blank if you don't want to change it)
-<%= f.password_field :password %>
+<%= f.label :password %> (leave blank if you don't want to change it)
+ <%= f.password_field :password %>
<%= f.label :password_confirmation %>
-<%= f.password_field :password_confirmation %>
+<%= f.label :password_confirmation %>
+ <%= f.password_field :password_confirmation %>
<%= f.label :current_password %> (we need your current password to confirm your changes)
-<%= f.password_field :current_password %>
+<%= f.label :current_password %> (we need your current password to confirm your changes)
+ <%= f.password_field :current_password %>
<%= f.submit "Update" %>
<% end %> diff --git a/app/views/devise/registrations/new.html.erb b/app/views/devise/registrations/new.html.erb index b205eae9..ae12ee75 100644 --- a/app/views/devise/registrations/new.html.erb +++ b/app/views/devise/registrations/new.html.erb @@ -3,14 +3,14 @@ <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %> <%= devise_error_messages! %> -<%= f.label :email %>
-<%= f.text_field :email %>
+<%= f.label :email %>
+ <%= f.text_field :email %>
<%= f.label :password %>
-<%= f.password_field :password %>
+<%= f.label :password %>
+ <%= f.password_field :password %>
<%= f.label :password_confirmation %>
-<%= f.password_field :password_confirmation %>
+<%= f.label :password_confirmation %>
+ <%= f.password_field :password_confirmation %>
<%= f.submit "Sign up" %>
<% end %> diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb index 239886a0..13902a52 100644 --- a/app/views/devise/sessions/new.html.erb +++ b/app/views/devise/sessions/new.html.erb @@ -1,11 +1,11 @@<%= f.label :email %>
-<%= f.text_field :email %>
+<%= f.label :email %>
+ <%= f.text_field :email %>
<%= f.label :password %>
-<%= f.password_field :password %>
+<%= f.label :password %>
+ <%= f.password_field :password %>
<%= f.check_box :remember_me %> <%= f.label :remember_me %>
diff --git a/app/views/devise/unlocks/new.html.erb b/app/views/devise/unlocks/new.html.erb index 76b4c439..989bb8fe 100644 --- a/app/views/devise/unlocks/new.html.erb +++ b/app/views/devise/unlocks/new.html.erb @@ -3,8 +3,8 @@ <%= form_for(resource, :as => resource_name, :url => unlock_path(resource_name)) do |f| %> <%= devise_error_messages! %> -<%= f.label :email %>
-<%= f.text_field :email %>
+<%= f.label :email %>
+ <%= f.text_field :email %>
<%= f.submit "Resend unlock instructions" %>
<% end %>