{% macro render_field(field) %} {% if field.label.text == 'I accept the Terms of Service and the Privacy Notice' or field.label.text == 'Remember Me' %}

{{ field(**kwargs)|safe }} {% if field.errors %}

{% endif %} {{ field.label }}

{% else %}
{{ field(class_="form-control",**kwargs)|safe }} {% if field.errors %} {% endif %}
{% endif %} {% endmacro %}