{% extends 'account/base.html.twig' %} {% use "developers/header.html.twig" with header as parent_header %} {% block head %} {{ block('parent_header') }} {% endblock %} {# form input macro #} {% macro input(name, value, violations, property, type, size) %} {% if violations is none %} {% else %} {% set hasError = "false" %} {% for violation in violations %} {% if violation.getPropertyPath == property and hasError == "false" %} {% set hasError = "true" %}