web/views/formrenderers.py
changeset 3629 559cad62c786
parent 3589 a5432f99f2d9
parent 3592 4c08780e54ed
child 4023 eae23c40627a
equal deleted inserted replaced
3590:1b0dbcf4b214 3629:559cad62c786
   350     # needs some additional points in some case (XXX explain cases)
   350     # needs some additional points in some case (XXX explain cases)
   351     __select__ = entity_implements('Any') & yes()
   351     __select__ = entity_implements('Any') & yes()
   352 
   352 
   353     _options = FormRenderer._options + ('display_relations_form', 'main_form_title')
   353     _options = FormRenderer._options + ('display_relations_form', 'main_form_title')
   354     display_relations_form = True
   354     display_relations_form = True
   355     main_form_title = _('main information')
   355     main_form_title = _('main informations')
   356 
   356 
   357     def render(self, form, values):
   357     def render(self, form, values):
   358         rendered = super(EntityFormRenderer, self).render(form, values)
   358         rendered = super(EntityFormRenderer, self).render(form, values)
   359         return rendered + u'</div>' # close extra div introducted by open_form
   359         return rendered + u'</div>' # close extra div introducted by open_form
   360 
   360