{% extends "layout.html" %} {% import "macros/common.html" as common %} {% set title = "Content from collection: " + collection.name %} {% block title %}{{ title }} {% endblock %} {% block content %} {{ common.render_head(title) }}
ID | {% for field in collection.fields %} {% if field.display_field %}{{ field.name }} | {% endif %} {% endfor %}Actions |
---|---|---|
{{ content.id }} | {% for field in collection.fields %} {% if field.display_field %}{% if field.is_list and content.data.get(field.alias) %} {{ content.data.get(field.alias) | join(", ") }} {% else %} {{ content.data.get(field.alias) }} {% endif %} | {% endif %} {% endfor %}edit delete |