changed email_field to text_field where we don't need an email address

This commit is contained in:
nilsding 2014-08-01 18:01:34 +02:00
parent ef6da69011
commit f4da926a42
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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?