aboutsummaryrefslogtreecommitdiff
path: root/tests/data/simple/templates/new_entry_from_multiple_data.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/simple/templates/new_entry_from_multiple_data.yaml')
-rw-r--r--tests/data/simple/templates/new_entry_from_multiple_data.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/data/simple/templates/new_entry_from_multiple_data.yaml b/tests/data/simple/templates/new_entry_from_multiple_data.yaml
new file mode 100644
index 0000000..cfa4296
--- /dev/null
+++ b/tests/data/simple/templates/new_entry_from_multiple_data.yaml
@@ -0,0 +1,12 @@
+name: '{{ data.name }}'
+description: |
+ {{ description if description else "." | indent(width=2, first=False) }}
+position: '{{ data.position }}'
+# # quantity (integer): how many items are there
+quantity: {{ values.quantity if values.quantity else "0" }}
+# # value (float): how much each item is
+value: 0.0
+# # cost (decimal): how much this costs
+cost: '{{ values.cost if values.cost else "0.0" }}'
+# # other (yaml):
+other: