blog: Fix syntax of blog.query's cycle calls.

This commit is contained in:
Brett Smith 2018-09-03 10:48:39 -04:00
parent 11e2f64d4b
commit 14c8f8c894

View file

@ -44,7 +44,7 @@ div.query_indent table tr td { padding-right: 3em; padding-bottom: .3em; }
<table id="authors"><tr><td> <table id="authors"><tr><td>
{% for author in authors %} {% for author in authors %}
<input type="checkbox" name="author" value="{{ author.username}}"/> <label>{{ author.formal_name }}</label>{% cycle </td><td>,</td><td>,</td></tr><tr><td> %} <input type="checkbox" name="author" value="{{ author.username}}"/> <label>{{ author.formal_name }}</label>{% cycle '</td><td>' '</td><td>' '</td></tr><tr><td>' %}
{% endfor %} {% endfor %}
</td></tr></table> </td></tr></table>
@ -58,7 +58,7 @@ div.query_indent table tr td { padding-right: 3em; padding-bottom: .3em; }
<table id="tags"><tr><td> <table id="tags"><tr><td>
{% for tag in tags %} {% for tag in tags %}
<input type="checkbox" name="tag" value="{{ tag.slug }}"/> <label>{{ tag.label }}</label>{% cycle </td><td>,</td><td>,</td></tr><tr><td> %} <input type="checkbox" name="tag" value="{{ tag.slug }}"/> <label>{{ tag.label }}</label>{% cycle '</td><td>' '</td><td>' '</td></tr><tr><td>' %}
{% endfor %} {% endfor %}
</td></tr></table> </td></tr></table>