> Would it be possible to create the form in formtest.html and how would
> the template look like?

#Template
def with (foods)

<html>
-------
<form>

<select id='myid' name='myid'>
$for food in foods:
    <option value=$food>$food</option>
</select>

</form>
</html>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to