{%- macro field_error(error) %}
{%- if error %}
<div class="error">
  {{ error }}
</div>
{% endif -%}
{% endmacro -%}

{%- macro field_error(error) %}
{%- if error %}
<div class="error">
  {{ error }}
</div>
{% endif -%}
{% endmacro -%}

{%- macro format_date(date) %}
{{ date.getDate() }}.{{ date.getMonth() + 1 }}.{{ date.getFullYear() }}
{% endmacro -%}

Add a date formatting macro
Add a date formatting macro
