web/views/editcontroller.py
changeset 3396 fb261afd49cd
parent 3388 b8be8fc77c27
parent 3377 dd9d292b6a6d
child 3451 6b46d73823f5
equal deleted inserted replaced
3395:405f393bcac0 3396:fb261afd49cd
    47             rql += ', %s' % ','.join(self.restrictions)
    47             rql += ', %s' % ','.join(self.restrictions)
    48         self.kwargs[var] = eid
    48         self.kwargs[var] = eid
    49         return rql
    49         return rql
    50 
    50 
    51 class EditController(ViewController):
    51 class EditController(ViewController):
    52     id = 'edit'
    52     __regid__ = 'edit'
    53 
    53 
    54     def publish(self, rset=None):
    54     def publish(self, rset=None):
    55         """edit / create / copy / delete entity / relations"""
    55         """edit / create / copy / delete entity / relations"""
    56         for key in self.req.form:
    56         for key in self.req.form:
    57             # There should be 0 or 1 action
    57             # There should be 0 or 1 action