changed email_field to text_field where we don't need an email address
This commit is contained in:
parent
ef6da69011
commit
f4da926a42
|
@ -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"
|
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue