Difference between revisions of "CreateTopicForm"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
Line 58: | Line 58: | ||
<!-- {{ pp["type"] }} {{ pp["name"] }} --> | <!-- {{ pp["type"] }} {{ pp["name"] }} --> | ||
| {{'{{{'}}field | | {{'{{{'}}field | ||
− | + | |{{ pp["name"] }} | |
− | + | |property={{ row.name }} {{ pp["name"] }} | |
− | + | |size= {%- if pp["size"] -%} {{ pp["size"] }} {% else %} 80 {% endif %} | |
− | + | {%- if pp["mandatory"] or pp["mandatory"].lower() == 't' or pp["mandatory"].lower() == 'true' -%}|mandatory {%- endif %} | |
− | + | {%- if pp["inputType"] -%}|input type={{ pp["inputType"] }} {% endif %} | |
− | + | {%- if pp["allowedValues"] -%}|values={{ pp["allowedValues"] }} {% endif %} | |
− | + | {%- if pp["values from "] -%}|values from {{ pp["values from "] }} {% endif %} | |
− | + | {%- if pp["default"] -%}|default={{ pp["default"] }} {% endif %} | |
− | + | {{'}}}'}} | |
{%- endfor %} | {%- endfor %} | ||
|- | |- | ||
Line 88: | Line 88: | ||
<!-- {{ pp["type"] }} {{ pp["name"] }} --> | <!-- {{ pp["type"] }} {{ pp["name"] }} --> | ||
| {{'{{{'}}field | | {{'{{{'}}field | ||
− | + | |{{ pp["name"] }} | |
− | + | |property=Property {{ pp["name"] }} | |
− | + | |size= {%- if pp["size"] -%} {{ pp["size"] }} {% else %} 80 {% endif %} | |
− | + | {%- if pp["mandatory"] or pp["mandatory"].lower() == 't' or pp["mandatory"].lower() == 'true' -%}|mandatory {%- endif %} | |
− | + | {%- if pp["inputType"] -%}|input type={{ pp["inputType"] }} {% endif %} | |
− | + | {%- if pp["allowedValues"] -%}|values={{ pp["allowedValues"] }} {% endif %} | |
− | + | {%- if pp["values from "] -%}|values from {{ pp["values from "] }} {% endif %} | |
− | + | {%- if pp["default"] -%}|default={{ pp["default"] }} {% endif %} | |
− | + | {{'}}}'}} | |
{%- endfor %} | {%- endfor %} | ||
|- | |- |
Revision as of 01:44, 15 February 2021
Sourcecode
Sourcecode | |
---|---|
id | CreateTopicForm |
lang | jinja |
author | Tim Holzheim |
since | 2021/02/14 |
test | '"`UNIQ--pre-00000000-QINU`"'
|
url |