Difference between revisions of "CreateTopicForm"
Jump to navigation
Jump to search
Tim Holzheim (talk | contribs) |
Tim Holzheim (talk | contribs) |
||
| Line 49: | Line 49: | ||
{| class="wikitable" | {| class="wikitable" | ||
! colspan='2'| {{ row.name }} | ! colspan='2'| {{ row.name }} | ||
| − | {% for pp in topic_property_properties%} | + | {% for pp in topic_property_properties %} |
|- | |- | ||
! {{ pp["name"] }}: | ! {{ pp["name"] }}: | ||
| Line 56: | Line 56: | ||
|{{ pp["name"] }} | |{{ pp["name"] }} | ||
|property={{ row.name }} {{ pp["name"] }} | |property={{ row.name }} {{ pp["name"] }} | ||
| − | |size= {% if | + | |size= {% if pp["size"] %} {{ pp["size"] }} {% else %} 80 {% endif %} |
| − | {% if | + | {% if pp["mandatory"] %}|mandatory {% endif %} |
| − | {% if | + | {% if pp["inputType"] %}|input type={{ pp["inputType"] }} {% endif %} |
| − | {% if | + | {% if pp["allowedValues"] %}|values={{ pp["allowedValues"] }} {% endif %} |
| − | {% if | + | {% if pp["values from "] %}|values from {{ pp["values from "] }} {% endif %} |
| − | {% if | + | {% if pp["default"] %}|default={{ pp["default"] }} {% endif %} |
{{'}}}'}} | {{'}}}'}} | ||
{%- endfor %} | {%- endfor %} | ||
| Line 86: | Line 86: | ||
|{{ pp["name"] }} | |{{ pp["name"] }} | ||
|property=Property {{ pp["name"] }} | |property=Property {{ pp["name"] }} | ||
| − | |size= {% if | + | |size= {% if pp["size"] %} {{ pp["size"] }} {% else %} 80 {% endif %} |
| − | {% if | + | {% if pp["mandatory"] %}|mandatory {% endif %} |
| − | {% if | + | {% if pp["inputType"] %}|input type={{ pp["inputType"] }} {% endif %} |
| − | {% if | + | {% if pp["allowedValues"] %}|values={{ pp["allowedValues"] }} {% endif %} |
| − | {% if | + | {% if pp["values from "] %}|values from {{ pp["values from "] }} {% endif %} |
| − | {% if | + | {% if pp["default"] %}|default={{ pp["default"] }} {% endif %} |
{{'}}}'}} | {{'}}}'}} | ||
{%- endfor %} | {%- endfor %} | ||
Revision as of 23:30, 14 February 2021
Sourcecode
| Sourcecode | |
|---|---|
| id | CreateTopicForm |
| lang | jinja |
| author | Tim Holzheim |
| since | 2021/02/14 |
| test | '"`UNIQ--pre-00000000-QINU`"'
|
| url | |