{% if self.form.non_field_errors and self.classname == 'show-non-field-errors' %}
{% for error in self.form.non_field_errors %}
{{ error }}
{% endfor %}
{% endif %}
{% for child in self.children %}
-
{{ child.render_as_field }}
{% for class in child.classes %}
{% if 'gmap' in class %}
{% load wagtailgmaps_tags %}
{% map_editor child.bound_field.value 100 "%" 300 "px" 8 %}
{% endif %}
{% endfor %}
{% endfor %}