Flow_0y0jhr6
Flow_0e9sx03
Flow_094q775
Flow_11spu1y
action=="edit"
Flow_11spu1y
action=="finish"
Flow_0y0jhr6
Flow_14tyljc
dataset=[
{"name": "item1", "x": 1, "y": 2.2, "z": 10},
{"name": "item2", "x": 1.3, "y": 1.4, "z": 10},
{"name": "item3", "x": 0.8, "y": 5, "z": 12}
]
fields = ["name", "x", "y", "z"]
{% if dataset is defined and dataset | length > 0 %}
| {{ ' | '.join(fields) }} | Action |
| --- | --- | --- | --- | --- |
{% for item in dataset %}
{%- for f in fields -%}
| {{ item[f] -}}
{%- endfor -%}
| <a href="#" onclick="document.getElementById('form-to-submit').submit();" >Edit</a> |
{% endfor %}
{% else %}
No Results
{% endif %}
action="edit"
name = dataset[0]["name"]
x = dataset[0]["x"]
y = dataset[0]["y"]
z = dataset[0]["z"]
Flow_14tyljc
Flow_0jfr18i
Flow_0e9sx03
dataset[0]["name"] = name
dataset[0]["x"] = x
dataset[0]["y"] = y
dataset[0]["z"] = z
Flow_094q775
Flow_0jfr18i