{% if application_field.field_type in 'CharField,TextField,StatusField' %} {% if action == 'isnull' %} {% else %} {% endif %} {% elif application_field.field_type in 'DateField' %} {% if action in 'day,month,year,week' %} {% else %} {% endif %} {% elif application_field.field_type == 'DateTimeField' %} {% if action in 'day,month,year' %} {% else %} {% endif %} {% elif application_field.field_type in 'DecimalField,BigAutoField,IntegerField,PositiveSmallIntegerField,PositiveIntegerField,AutoField,FloatField' %} {% elif application_field.field_type == 'BooleanField' %} {% elif application_field.field_type in 'ForeignKey,ManyToManyField' %} {% if action == 'advanced' %}
{% else %} {{ form }} {% endif %} {% endif %}