[EMAIL PROTECTED] wrote:
> Is there a way to embed a variable inside an html form tag.
> In my controlled i send the variable readonlyvar equal to 'readonly'
> so based on conditions i can write protect my form. but when i try and
> embed it.
>
> <input type="text" ${readonlyvar}>
>
> it dies saying improper XML.
>
> Readonlyvar can be "" or "readonly".
Kid templates must be proper XML. Use this:
<input type="text" readonly="$readonlyvar"/>
-- Chris
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---