equal
deleted
inserted
replaced
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(): |