diff --git a/app/views/devise/passwords/new.html.erb b/app/views/devise/passwords/new.html.erb index 689791a..0b6692c 100644 --- a/app/views/devise/passwords/new.html.erb +++ b/app/views/devise/passwords/new.html.erb @@ -1,12 +1,28 @@ -

<%= t('.forgot_your_password', :default => 'Forgot your password?') %>

+ <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :post }) do |f| %> <%= devise_error_messages! %> -
<%= f.label :email %>
- <%= f.email_field :email %>
+
+
+
+
+ <%= f.label :email, class: "control-label" %> + <%= f.email_field :email, autofocus: true, class: 'text-field form-control' %> +
+
+

+ The same email address used to sign up. +

+
+
+
+
-
<%= f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions") %>
+
+ <%= f.submit t('.send_me_reset_password_instructions', :default => "Send me reset password instructions"), class: 'btn btn-warning' %> + <%= render "devise/shared/links" %> +
<% end %> - -<%= render "devise/shared/links" %> diff --git a/app/views/devise/registrations/edit.html.erb b/app/views/devise/registrations/edit.html.erb index 144a874..08cb0d9 100644 --- a/app/views/devise/registrations/edit.html.erb +++ b/app/views/devise/registrations/edit.html.erb @@ -1,30 +1,83 @@ -

<%= t('.title', :resource => resource_class.model_name.human , :default => "Edit #{resource_name.to_s.humanize}") %>

+