cubicweb/web/views/workflow.py
changeset 11197 9f1c89e7426d
parent 11057 0b59724cb3f2
child 11767 432f87a63057
equal deleted inserted replaced
11196:74b04a88d28a 11197:9f1c89e7426d
    84     # session_key() implementation)
    84     # session_key() implementation)
    85     __regid__ = domid = 'changestate'
    85     __regid__ = domid = 'changestate'
    86 
    86 
    87     form_renderer_id = 'base' # don't want EntityFormRenderer
    87     form_renderer_id = 'base' # don't want EntityFormRenderer
    88     form_buttons = [fwdgs.SubmitButton(),
    88     form_buttons = [fwdgs.SubmitButton(),
    89                     fwdgs.Button(stdmsgs.BUTTON_CANCEL, cwaction='cancel')]
    89                     fwdgs.Button(stdmsgs.BUTTON_CANCEL,
       
    90                                  {'class': fwdgs.Button.css_class + ' cwjs-edition-cancel'})]
    90 
    91 
    91 
    92 
    92 class ChangeStateFormView(form.FormViewMixIn, EntityView):
    93 class ChangeStateFormView(form.FormViewMixIn, EntityView):
    93     __regid__ = 'statuschange'
    94     __regid__ = 'statuschange'
    94     title = _('status change')
    95     title = _('status change')