authentication_field

The authentication_field tag renders an html input tag, which have to be used in the different form tags available for authentication. (authentication_edit_formauthentication_login_form,  authentication_logout_formauthentication_new_formauthentication_recover_password_form,  authentication_request_password_recovery_form). This tag can only be called inside one of the specified form tags.

The authentication_field tag takes the name of the authentication field that has to be edited (one of "email", "password", "new_password" or "confirm_password"). Depending on the form tag in which the authentication_field tag is called, the authentication_field tag has to be called for a subset of these field names. E.g. within the authentication_login_form tag, the authentication_field tag has to be called only with "email" and with "password".

Example: 

{% authentication_login_form "dealers" %}     {% authentication_field "email" %}     {% authentication_field "password" %} {% endauthentication_login_form %}