{% load widget_tweaks %} {% csrf_token %} {% for field in form.visible_fields %} {% with widget_type=field|widget_type %}
{% if widget_type == "checkboxinput" %}
{% elif widget_type == "radioselect" %}
{% for choice in field %} {% endfor %}
{% elif widget_type == "select" %}
{% render_field field %}
{% else %}
{% render_field field class+="field" size="" autocomplete="off" autocapitalize="none" placeholder="" %}
{% endif %}
{% endwith %} {% endfor %}