Changeset - 14c8f8c89402
[Not reviewed]
0 1 0
Brett Smith (brett) - 6 years ago 2018-09-03 14:48:39
brett@sfconservancy.org
blog: Fix syntax of blog.query's cycle calls.
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
www/conservancy/templates/blog/query.html
Show inline comments
...
 
@@ -41,13 +41,13 @@ div.query_indent table tr td { padding-right: 3em; padding-bottom: .3em; }
 
<div class="query_indent">
 

	
 
<p><input type="checkbox" name="all" value="authors" id="all_authors"/> <label>All authors</label></p>
 

	
 
<table id="authors"><tr><td>
 
{% 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 %}
 
</td></tr></table>
 

	
 
</div>
 

	
 
<p>marked with any of these tags...</p>
...
 
@@ -55,13 +55,13 @@ div.query_indent table tr td { padding-right: 3em; padding-bottom: .3em; }
 
<div class="query_indent">
 

	
 
<p><input type="checkbox" name="all" value="tags" id="all_tags"/> <label>All tags</label></p>
 

	
 
<table id="tags"><tr><td>
 
{% 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 %}
 
</td></tr></table>
 

	
 
</div>
 

	
 
<p><input type="submit" value="View blog entries"/></p>
0 comments (0 inline, 0 general)