I understand that text_field
creates an input field of type text
, while email_field
creates an input field of type email
.
But, what is the difference between these two input types ?
Say I have a client model while a client has an email. Should I use email_field
here ?