Answer the question
In order to leave comments, you need to log in
Python + chameleon - select block output?
I use chameleon template engine. I can’t figure out how to make an active item in the block.
Here is the code I have:
<select class="form-select" name="timezone" required>
<option tal:repeat="item range(-12, 13)" value="${ item }">${ item }</option>
</select>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question