In a Rails application, I came across something like this (in a haml file):
= form_for(resource, url:<url>, ...) do |f|
= f.email :email, required: true, id: 'registration_email" ...
Looking at the docs, I can find an email_field
method, but not an email
method. I have dug into the source as well, but so far no dice. I appreciate any insight!