{% from "govuk_frontend_jinja/components/error-summary/macro.html" import govukErrorSummary %}

{% macro standardErrorSummary(form) %}
  <div class="govuk-grid-row">
    <div class="govuk-grid-column-two-thirds">
      {% if form is defined and form.errors %}
        {{ govukErrorSummary(wtforms_errors(form)) }}
      {% endif %}
    </div>
  </div>
{% endmacro %}
