Commit c482de1f9ded77ee80a0f355b72bdf860ac4741a
1 parent
a7520e31
Exists in
colab
and in
4 other branches
More styles restored after devise internationalization
Showing
2 changed files
with
7 additions
and
3 deletions
Show diff stats
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 | 5 | <%= form_for(resource, :as => resource_name, :url => confirmation_path(resource_name), :html => { :method => :post }) do |f| %> |
4 | 6 | <%= devise_error_messages! %> |
5 | 7 | |
6 | 8 | <div><%= f.label :email %><br /> |
7 | - <%= f.email_field :email %></div> | |
9 | + <%= f.email_field :emaill, :autofocus => true %></div> | |
8 | 10 | |
9 | 11 | <div><%= f.submit t('.resend_confirmation_instructions', :default => 'Resend confirmation instructions'), class: 'btn btn-default' %></div> |
10 | 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 | 5 | <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put }) do |f| %> |
4 | 6 | <%= devise_error_messages! %> | ... | ... |