<!--
I want to `set' the selection based on the character.ascended expression.
This just seems clunky.
-->
<select py:if="$character.ascended" name="ascended">
<option value="True" selected="selected">True</option>
<option value="False">False</option>
</select>
<select py:if="not $character.ascended" name="ascended">
<option value="True">True</option>
<option value="False" selected="selected">False</option>
</select>
Also, suppose I want to create a two-column table from a list of
integers. Is there an easy way to do this? I've been smacking my
head against the monitor, because I can't quite figure out how to do
it.
Initially, I considered py:for, but it only gives me one element at a
time, but I need two elements, one for each <td> element. The example
below may give you some idea of what I just tried to explain.
<table>
<tr py:for="x in range(3)">
<td>$x</td>
<td> Can't get to second element from here </td>
</tr>
</table>
Thanks!
jw
--
"Government does not solve problems; it subsidizes them."
Ronald Reagan