#NEWLINE# def group( ) : #NEWLINE# #INDENT# ' RESTful CRUD controller ' #NEWLINE# FS = s3base . S3FieldSelector #NEWLINE# s3 . filter = ( FS ( 'group.system' ) == False ) #NEWLINE# table = s3db . pr_group_membership #NEWLINE# s3db . configure ( 'pr_group_membership' , list_fields = [ 'id' , 'person_id' , 'group_head' , 'comments' ] ) #NEWLINE# rheader = ( lambda r : s3db . pr_rheader ( r , tabs = [ ( T ( 'Group Details' ) , None ) , ( T ( 'Address' ) , 'address' ) , ( T ( 'Contact Data' ) , 'contact' ) , ( T ( 'Members' ) , 'group_membership' ) ] ) ) #NEWLINE# output = s3_rest_controller ( rheader = rheader ) #NEWLINE# return output