Commit 7d2517ec authored by Amos Latteier's avatar Amos Latteier

typo fixes

parent c320b345
...@@ -39,7 +39,7 @@ define - Define variables ...@@ -39,7 +39,7 @@ define - Define variables
tal:define="global company_name string:Zope Corp, Inc." tal:define="global company_name string:Zope Corp, Inc."
Defining two varibles, where the second depends on the first:: Defining two variables, where the second depends on the first::
tal:define="mytitle template/title; tlen python:len(mytitle)" tal:define="mytitle template/title; tlen python:len(mytitle)"
......
...@@ -9,7 +9,7 @@ repeat - Repeat an element ...@@ -9,7 +9,7 @@ repeat - Repeat an element
Description Description
The 'tal:repeat' statement replicates a subtree of your document The 'tal:repeat' statement replicates a sub-tree of your document
once for each item in a sequence. The expression should evaluate once for each item in a sequence. The expression should evaluate
to a sequence. If the sequence is empty, then the statement to a sequence. If the sequence is empty, then the statement
element is deleted, otherwise it is repeated for each value in the element is deleted, otherwise it is repeated for each value in the
...@@ -26,7 +26,7 @@ repeat - Repeat an element ...@@ -26,7 +26,7 @@ repeat - Repeat an element
You use repeat variables to access information about the current You use repeat variables to access information about the current
repetition (such as the repeat index). The repeat variable has repetition (such as the repeat index). The repeat variable has
the same name as the local variable, but is only accessible the same name as the local variable, but is only accessible
through the builtin variable named 'repeat'. through the built-in variable named 'repeat'.
The following information is available from the repeat variable: The following information is available from the repeat variable:
...@@ -61,7 +61,7 @@ repeat - Repeat an element ...@@ -61,7 +61,7 @@ repeat - Repeat an element
Examples Examples
Iterating over a sequece of strings:: Iterating over a sequence of strings::
<p tal:repeat="txt python:'one', 'two', 'three'"> <p tal:repeat="txt python:'one', 'two', 'three'">
<span tal:replace="txt" /> <span tal:replace="txt" />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment