diff --git a/app/views/devise/passwords/new.html.haml b/app/views/devise/passwords/new.html.haml index fdae9202..eee273ad 100644 --- a/app/views/devise/passwords/new.html.haml +++ b/app/views/devise/passwords/new.html.haml @@ -3,7 +3,7 @@ = bootstrap_form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :post }) do |f| = devise_error_messages! - = f.email_field :screen_name, autofocus: true, "User name" + = f.text_field :screen_name, autofocus: true, "User name" = f.submit "Send me reset password instructions" = render "devise/shared/links" \ No newline at end of file diff --git a/app/views/devise/registrations/edit.html.haml b/app/views/devise/registrations/edit.html.haml index 78513a5a..5bf72700 100644 --- a/app/views/devise/registrations/edit.html.haml +++ b/app/views/devise/registrations/edit.html.haml @@ -3,7 +3,7 @@ = bootstrap_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| = devise_error_messages! - = f.email_field :screen_name, autofocus: true, label: "User name" + = f.text_field :screen_name, autofocus: true, label: "User name" = f.email_field :email, label: "Email address" - if devise_mapping.confirmable? && resource.pending_reconfirmation?