Stickum

The president buys Stickum.
HTML code pasted @ 17:14 on Sun, 20 Apr 08
Copy & Paste Plain Text
1
<body>
2
<div py:choose="len(movies)" py:strip="True">
3
<p py:when="0">
4
        Sorry, there are no movies in database. 
5
</p>
6
<p py:otherwise="">
7
We have <strong>${len(movies)}</strong> movies in our database:
8
    <ul>
9
      <li py:for="movie in movies">
10
         <strong>${movie.title}</strong> (released in <em>${movie.year}</em>)
11
      </li>
12
    </ul>
13
</p>
14
</div>
15
</body>