{% extends "_layout" %} {% import "_form_macros" as form %} {% block title -%} Inventory {%- endblock %} {% block nav -%} Add {%- endblock %} {% block content -%} {%- for field in fields %} {%- endfor %} {%- for card in cards %} {%- for field in card.fields %} {%- endfor %} {% endfor %}
{{ field.label }}
{%- if field.kind == "bool" -%} {% if field.checked %} ✔ {% else %} ✘ {% endif %} {%- else -%} {{ field.value }} {%- endif -%}
{%- endblock %}