{% macro render_field(field) %}
  {{ field.label }}
  {{ field(**kwargs)|safe }}
  {% if field.errors %}
    {% for error in field.errors %}
      <div class="alert alert-warning">{{ error }}</div>
    {% endfor %}
  {% endif %}
{% endmacro %}
Create a helper partial for forms.
Create a helper partial for forms.
