{% load combo %}{% spaceless %} {% if field.type == "text" and field.display_mode == 'rich' and value or field.type == "text" and field.display_mode == 'basic-rich' and value %} {% if cell.display_mode == 'table' or cell.display_mode == 'card' and item.display_mode == 'text' %}