web/views/autoform.py
changeset 10932 cb217b2b3463
parent 10669 155c29e0ed1c
child 11100 5758ba784ebd
equal deleted inserted replaced
10931:6168a45f62df 10932:cb217b2b3463
   740     cwtarget = 'eformframe'
   740     cwtarget = 'eformframe'
   741     cssclass = 'entityForm'
   741     cssclass = 'entityForm'
   742     copy_nav_params = True
   742     copy_nav_params = True
   743     form_buttons = [fw.SubmitButton(),
   743     form_buttons = [fw.SubmitButton(),
   744                     fw.Button(stdmsgs.BUTTON_APPLY, cwaction='apply'),
   744                     fw.Button(stdmsgs.BUTTON_APPLY, cwaction='apply'),
   745                     fw.Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
   745                     fw.Button(stdmsgs.BUTTON_CANCEL,
       
   746                               {'class': fw.Button.css_class + ' cwjs-edition-cancel'})]
   746     # for attributes selection when searching in uicfg.autoform_section
   747     # for attributes selection when searching in uicfg.autoform_section
   747     formtype = 'main'
   748     formtype = 'main'
   748     # set this to a list of [(relation, role)] if you want to explictily tell
   749     # set this to a list of [(relation, role)] if you want to explictily tell
   749     # which relations should be edited
   750     # which relations should be edited
   750     display_fields = None
   751     display_fields = None