Re: Change cols and row in generic update page textarea

2006-06-06 Thread Wilson Miner
Or specify the dimensions in ems if you want a closer equivalent to rows and columns. On 6/6/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 6/6/06, tomass <[EMAIL PROTECTED]> wrote: > > Wondering if there's a way to specify how many rows and columns the > > generic update page uses for a t

Re: Change cols and row in generic update page textarea

2006-06-06 Thread tomass
Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For mo

Re: Change cols and row in generic update page textarea

2006-06-06 Thread Adrian Holovaty
On 6/6/06, tomass <[EMAIL PROTECTED]> wrote: > Wondering if there's a way to specify how many rows and columns the > generic update page uses for a textarea? > > It seems to default to 10 and 40, and I'd like to make this much > larger. Hi Tom, Each form element gets an ID in its HTML, which you

Re: Change cols and row in generic update page textarea

2006-06-06 Thread tomass
But how do I show the value of the field in the textarea: is there such as thing as {{ form.emailbody.value }} or something? This is for an update form, so I need to display the current value Thanks, Tom --~--~-~--~~~---~--~~ You received this message because yo

Re: Change cols and row in generic update page textarea

2006-06-06 Thread Honza Král
simply put there instead of the template tag {{ form.emailbody }} not very ellegant, but works.. On 6/6/06, tomass <[EMAIL PROTECTED]> wrote: > > This is for a generic view. I may have missed this in the doc, but how > do I specify my html? > > I'm currently doing: > > EmailBody: {{ form.ema

Re: Change cols and row in generic update page textarea

2006-06-06 Thread tomass
This is for a generic view. I may have missed this in the doc, but how do I specify my html? I'm currently doing: EmailBody: {{ form.emailbody }} {% if form.emailbody.errors %}*** {{ form.emailbody.errors|join:", " }}{% endif %} And this is what punches out the: How can I control what co

Re: Change cols and row in generic update page textarea

2006-06-06 Thread Honza Král
You mean in the admin page or using a generic view? with the generic view you can specify your HTML, so I don't see a problem there. If you want to add this information to the admin pages, that cannot be done at the moment (please someone correct me if I am wrong), but it would only be a small pat

Change cols and row in generic update page textarea

2006-06-06 Thread tomass
Hi Folks, Wondering if there's a way to specify how many rows and columns the generic update page uses for a textarea? It seems to default to 10 and 40, and I'd like to make this much larger. Thanks, Tom --~--~-~--~~~---~--~~ You received this message because y