On 9/24/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:

> Kid templates must be proper XML. Use this:
>
> <input type="text" readonly="$readonlyvar"/>

Wouldn't it be better to make $readonlyvar equal the entire string

   readonly="readonly"

That way, you're not left with [readonly=""] or
[readonly="wonkyvalue"] when $readonlyvar is turned "off"...

-- 
Ubuntu Linux DC LoCo
Washington, DC
http://dc.ubuntu-us.org/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to