Here is the code. It worked fine until I updated to r428 though. There
are several similar things in my templates that worked before this
update.
------------------
<p>
        <label>Published
        <input type="checkbox" value="True" name="published"
py:attr="dict(checked=(published=='True') and 'checked' or None)" />
        </label>
</p>
----------------

Reply via email to