def body():
 gender_opts = s3db.pr_gender_opts
 gender_opts[1] = T('unknown')
 ntable = s3db.pr_note
 ntable.status.readable = False
 ntable.status.writable = False
 dvi_tabs = [(T('Recovery'), ''), (T('Checklist'), 'checklist'), (T('Images'), 'image'), (T('Physical Description'), 'physical_description'), (T('Effects Inventory'), 'effects'), (T('Journal'), 'note'), (T('Identification'), 'identification')]
 rheader = S3ResourceHeader([[(T('ID Tag Number'), 'pe_label')], ['gender'], ['age_group']], tabs=dvi_tabs)
 return s3_rest_controller(rheader=rheader)

def body ( ) : gender_opts = s3db . pr_gender_opts gender_opts [ 1 ] = T ( 'unknown' ) ntable = s3db . pr_note ntable . status . readable = False ntable . status . writable = False dvi_tabs = [ ( T ( 'Recovery' ) , '' ) , ( T ( 'Checklist' ) , 'checklist' ) , ( T ( 'Images' ) , 'image' ) , ( T ( 'Physical Description' ) , 'physical_description' ) , ( T ( 'Effects Inventory' ) , 'effects' ) , ( T ( 'Journal' ) , 'note' ) , ( T ( 'Identification' ) , 'identification' ) ] rheader = S3ResourceHeader ( [ [ ( T ( 'ID Tag Number' ) , 'pe_label' ) ] , [ 'gender' ] , [ 'age_group' ] ] , tabs = dvi_tabs ) return s3_rest_controller ( rheader = rheader )
a view that is requested with get and accesses request .