aboutsummaryrefslogtreecommitdiffstats
path: root/testing/templates
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-01-12 19:21:15 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2017-01-12 19:21:15 +0100
commit780c93c3f167ca3df26229024e42843358b916ad (patch)
tree3d2cf27972feebae9a7fd8c53a93fc31ad9403b1 /testing/templates
parenta3ee36d21175204774462ca5a420874fd7f6503b (diff)
downloadaskama-780c93c3f167ca3df26229024e42843358b916ad.tar.gz
askama-780c93c3f167ca3df26229024e42843358b916ad.tar.bz2
askama-780c93c3f167ca3df26229024e42843358b916ad.zip
Use 'else if' instead of 'elif' to align more with Rust
Diffstat (limited to '')
-rw-r--r--testing/templates/elif.html1
-rw-r--r--testing/templates/else-if.html1
2 files changed, 1 insertions, 1 deletions
diff --git a/testing/templates/elif.html b/testing/templates/elif.html
deleted file mode 100644
index ad0cbae..0000000
--- a/testing/templates/elif.html
+++ /dev/null
@@ -1 +0,0 @@
-{% if cond %}true{% elif check %}checked{% else %}false{% endif %}
diff --git a/testing/templates/else-if.html b/testing/templates/else-if.html
new file mode 100644
index 0000000..469e08e
--- /dev/null
+++ b/testing/templates/else-if.html
@@ -0,0 +1 @@
+{% if cond %}true{% else if check %}checked{% else %}false{% endif %}