Commit c482de1f9ded77ee80a0f355b72bdf860ac4741a

Authored by Rafael Manzo
1 parent a7520e31

More styles restored after devise internationalization

app/views/devise/confirmations/new.html.erb
1 -<h2><%= t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %></h2> 1 +<div class="page-header">
  2 + <h1><%= t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions') %></h1>
  3 +</div>
2 4
3 <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %> 5 <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %>
4 <%= devise_error_messages! %> 6 <%= devise_error_messages! %>
5 7
6 <div><%= f.label :email %><br /> 8 <div><%= f.label :email %><br />
7 - <%= f.email_field :email %></div> 9 + <%= f.email_field :emaill, :autofocus => true %></div>
8 10
9 <div><%= f.submit t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions'), class: 'btn btn-default' %></div> 11 <div><%= f.submit t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions'), class: 'btn btn-default' %></div>
10 <% end %> 12 <% end %>
app/views/devise/passwords/edit.html.erb
1 -<h2><%= t('.change_your_password', :default => 'Change your password') %></h2> 1 +<div class="page-header">
  2 + <h1><%= t('.change_your_password', :default => 'Change your password') %></h1>
  3 +</div>
2 4
3 <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %> 5 <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %>
4 <%= devise_error_messages! %> 6 <%= devise_error_messages! %>