-
-
+ {% elif field.widget == "select" %}
+
+
+ {% if field.description %}
+
{{ field.description }}
+ {% endif %}
+ {% if errors and errors.get(form_key) %}
+
{{ errors[form_key] }}
+ {% endif %}
+
+ {% elif field.widget == "checkboxes" %}
+
+ {% set current_values = form_data.getlist(form_key) if form_data else (field.current_value or []) %}
+ {% for opt in field.options %}
+
+ {% endfor %}
+ {% if field.description %}
+
{{ field.description }}
+ {% endif %}
+ {% if errors and errors.get(form_key) %}
+
{{ errors[form_key] }}
+ {% endif %}
+
+ {% elif field.widget == "region" %}
+
Region
+ {% set region_key = adapter.name + '_' + field.name %}
+ {% set region = field.current_value or {} %}
+
+
+
+
+
+ {% if errors and errors.get(region_key) %}
+
{{ errors[region_key] }}
+ {% endif %}
-
-
-
-
-
-
-
-
-
-
-
-
-
- {% if errors and errors.get(adapter.name + '_region') %}
-