web/views/formrenderers.py
branchstable
changeset 3360 b02df886eb3e
parent 3358 0cddc4d8cad8
child 3369 7b88d12b4ee2
child 3507 ff945c7013d9
child 3510 bf746bf4a394
equal deleted inserted replaced
3359:5562f8b901f0 3360:b02df886eb3e
   468         w(u'<td id="unrelatedDivs_%s"></td>' % eid)
   468         w(u'<td id="unrelatedDivs_%s"></td>' % eid)
   469         w(u'</tr>')
   469         w(u'</tr>')
   470         w(u'</table>')
   470         w(u'</table>')
   471         w(u'</fieldset>')
   471         w(u'</fieldset>')
   472 
   472 
       
   473     # NOTE: should_* and display_* method extracted and moved to the form to
       
   474     # ease overriding
       
   475 
   473     def inline_entities_form(self, w, form):
   476     def inline_entities_form(self, w, form):
   474         """create a form to edit entity's inlined relations"""
   477         """create a form to edit entity's inlined relations"""
   475         if not hasattr(form, 'inlined_relations'):
   478         if not hasattr(form, 'inlined_relations'):
   476             return
   479             return
   477         for rschema, targettypes, role in form.inlined_relations():
   480         for rschema, targettypes, role in form.inlined_relations():