{% if cell.inline_edit_mod and cell.update_allowed %}
{{ cell.value }} {% if cell.column.form_field.label %} {% endif %}
{% else %} {% if cell.inline_edit_available and cell.update_allowed %}
{% if cell.wrap_list %}
    {% endif %}{{ cell.value }}{% if cell.wrap_list %}
{% endif %}
{% else %} {% if cell.wrap_list %}
    {% endif %}{{ cell.value }}{% if cell.wrap_list %}
{% endif %} {% endif %} {% endif %}