{% if "hidden" in type_class %} {{ item }} {% elif "date" in type_class %} {% load foundation_tags %} {{ item }} {% else %} {{ item }} {% endif %}