{% load widget_tweaks %} {% if field|widget_type == "checkboxinput" %} {% include "django_cfran/form_field_snippets/checkbox_snippet.html" %} {% elif field|widget_type == "checkboxselectmultiple" %} {% include "django_cfran/form_field_snippets/checkboxselectmultiple_snippet.html" %} {% elif field|widget_type == "radioselect" %} {% include "django_cfran/form_field_snippets/radioselect_snippet.html" %} {% else %} {% include "django_cfran/form_field_snippets/input_snippet.html" %} {% endif %}