From c482de1f9ded77ee80a0f355b72bdf860ac4741a Mon Sep 17 00:00:00 2001 From: Rafael Reggiani Manzo Date: Wed, 15 Apr 2015 18:45:13 -0300 Subject: [PATCH] More styles restored after devise internationalization --- app/views/devise/confirmations/new.html.erb | 6 ++++-- app/views/devise/passwords/edit.html.erb | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/views/devise/confirmations/new.html.erb b/app/views/devise/confirmations/new.html.erb index 973c8ab..82617b1 100644 --- a/app/views/devise/confirmations/new.html.erb +++ b/app/views/devise/confirmations/new.html.erb @@ -1,10 +1,12 @@ -

<%= t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %>

+ <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %> <%= devise_error_messages! %>
<%= f.label :email %>
- <%= f.email_field :email %>
+ <%= f.email_field :emaill, :autofocus => true %>
<%= f.submit t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions'), class: 'btn btn-default' %>
<% end %> diff --git a/app/views/devise/passwords/edit.html.erb b/app/views/devise/passwords/edit.html.erb index 5c94cd9..f1a7d98 100644 --- a/app/views/devise/passwords/edit.html.erb +++ b/app/views/devise/passwords/edit.html.erb @@ -1,4 +1,6 @@ -

<%= t('.change_your_password', :default => 'Change your password') %>

+ <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %> <%= devise_error_messages! %> -- libgit2 0.21.2