{% macro render_label(field) %}
{{ field.label }}
{% endmacro %} {% macro render_input(field, extra="") %}
{{ field(**kwargs)|safe }} {% if field.errors %} {% endif %}
{% endmacro %} {% macro render_field(field, extra="") %}
{{ render_label(field) }} {{ render_input(field, extra, **kwargs) }}
{% endmacro %} {% macro form_submit_button(text, id, action, errors) %}
Password must be between 8 and 64 characters
{{ form_submit_button('Create account', 'create-account-form-button', '/create_account', errors) }} {{ form_submit_button('Log in', 'log-in-form-button', '/login', errors) }}
{% endmacro %}