{% if field_type != 'hidden' and field_label %} {% if link_href %} {% endif %} {{ field_label }} {% if link_href %} {% endif %} {% endif %} {% if field_type == 'select' %} {% if options %} -- Select -- {% for opt in options %} {{ opt.label }} {% endfor %} {% else %} -- No selection available -- {% endif %} {% elif field_type == 'textarea' %} {{ value if value else "" }} {% elif field_type == 'checkbox' %} {% elif field_type == 'hidden' %} {% elif field_type == 'display' %}