authentication_field

Table of contents

The authentication_field tag renders an html input tag, which have to be used in the different form tags available for authentication.

This tag can only be called inside one of the form tags above.

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 %}

Need help?

Do you have any question which is not answered in this knowledge base? Contact us. We are here to help you.