Constructing a wtforms\' TextAreaField is something like this:
content = wtf.TextAreaField(\'Content\', id=\"content-area\", validators=[validators.Required()])
There is a tutorial on Flask by nettuts+. Basically, it works like this:
from flask.ext import wtf
class ContactForm(wtf.Form):
content = wtf.TextAreaField("Content", [validators.Required()])
and in your html:
Instead of specifying the layout in html, you can specify it in your css, for example:
form textarea#content {
width: 100px;
height: 100px;
max-width: 100px;
}