forked from asonge/erlydtl
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for "cycle" tag. Patch from Hunter Morris.
git-svn-id: http://erlydtl.googlecode.com/svn/trunk@135 a5195066-8e3e-0410-a82a-05b01b1b9875
- Loading branch information
emmiller
committed
Jun 28, 2008
1 parent
b4f92e5
commit 26f41f0
Showing
7 changed files
with
89 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
before | ||
|
||
<ul> | ||
{% for i in test %} | ||
<li>{{ forloop.counter }}. {{ i }} - {% cycle a b c %}</li> | ||
{% endfor %} | ||
</ul> | ||
|
||
after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters