simply put there

 <textarea id="id_emailbody" class="vLargeTextField required"
name="emailbody" rows="XX" cols="YY">

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:
>
> <label for="customer_emailbody">EmailBody:</label> {{ form.emailbody }}
>     {% if form.emailbody.errors %}*** {{ form.emailbody.errors|join:",
> " }}{% endif %}
>
> And this is what punches out the:
>
> <textarea id="id_emailbody" class="vLargeTextField required"
> name="emailbody" rows="10" cols="40">
>
> How can I control what cols and rows this outputs?
>
> Thanks, Tom
>
>
> >
>


-- 
Honza Král
E-Mail: [EMAIL PROTECTED]
ICQ#:   107471613
Phone:  +420 606 678585

--~--~---------~--~----~------------~-------~--~----~
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 more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to