Re: Customizing form.x widgets - how?

2006-06-28 Thread [EMAIL PROTECTED]
Thanks for the tip. It may still be useful if we could get at the form field value by itself, perhaps with a syntax like "form.description.value" or form.variable.value. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: Customizing form.x widgets - how?

2006-06-23 Thread Jacob Kaplan-Moss
On Jun 22, 2006, at 1:36 PM, [EMAIL PROTECTED] wrote: > The use-case and problem I have is when using a generic view and a > form; suppose my object being edited has a field called "description". > I'd like to just use {{form.description}} in the template, but the > default size (cols=, rows=)

Customizing form.x widgets - how?

2006-06-22 Thread [EMAIL PROTECTED]
Is there a way to change the HTML attributes that are rendered when we use {{form.x}} widgets? Or is writing a custom tag the best way? The use-case and problem I have is when using a generic view and a form; suppose my object being edited has a field called "description". I'd like to just use