You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
341 B
9 lines
341 B
{% macro describe_property(prop) %}
|
|
{{prop.name}}, {{prop.data_type}}
|
|
{%- if prop.default -%}
|
|
, default: "{{prop.default | print_typed_value}}"
|
|
{%- endif -%}
|
|
{%- if prop.optional %}, OPTIONAL{% endif %}
|
|
{%- if prop.multiple %}, MULTIPLE{% endif %}
|
|
<a href="/model/property/delete/{{prop.id}}">Delete property</a>
|
|
{% endmacro input %}
|
|
|