{% if input_type == "checkbox" %} {{ field }} {% include "materialize/field_help.html" %} {% else %} {% if input_type == "multicheckbox" %} {% include "materialize/field_choices.html" with type="checkbox" %} {% include "materialize/field_help.html" with display="block" %} {% else %} {% if input_type == "radioset" %} {% include "materialize/field_choices.html" with type="radio" %} {% include "materialize/field_help.html" with display="block" %} {% else %} {% if input_type == "text" or input_type == "textarea" %}