aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates/option.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testing/templates/option.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/templates/option.html b/testing/templates/option.html
new file mode 100644
index 0000000..64a055e
--- /dev/null
+++ b/testing/templates/option.html
@@ -0,0 +1,5 @@
+{% if var.is_some() -%}
+ some: {{ var.unwrap() }}
+{%- else -%}
+ none
+{%- endif %}