Package madrona :: Package common :: Module forms :: Class ShortTextarea
[hide private]

Class ShortTextarea

source code

django.forms.Textarea --+
                        |
                       ShortTextarea

Provides a textarea widget which uses a simple js statement to limit the number of chars.

example usage: widget=ShortTextarea(limit=45, rows=3, cols=15)

Instance Methods [hide private]
 
__init__(self, attrs={}, limit=1024, rows=10, cols=50) source code
 
render(self, name, value, attrs=None) source code