app/soc/views/helper/surveys.py
changeset 2670 884f808d8469
parent 2659 8df08a3b17db
child 2680 b96ba702e82c
equal deleted inserted replaced
2669:c28e2dc4cd51 2670:884f808d8469
   293       label: label for field
   293       label: label for field
   294       tip: tooltip text for field
   294       tip: tooltip text for field
   295       comment: initial comment value for field
   295       comment: initial comment value for field
   296     """
   296     """
   297 
   297 
       
   298     #fix growfield wrapping
       
   299     attrs['wrap'] = 'hard'
   298     widget = widgets.Textarea(attrs=attrs)
   300     widget = widgets.Textarea(attrs=attrs)
   299 
   301 
   300     if not tip:
   302     if not tip:
   301       tip = 'Please provide a long answer to this question.'
   303       tip = 'Please provide a long answer to this question.'
   302 
   304