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