0001-misc-add-a-css-class-to-resubmit-button-24074.patch
wcs/wf/resubmit.py | ||
---|---|---|
59 | 59 |
if x.enable_tracking_codes and not x.is_disabled()] |
60 | 60 |
form.add(SingleSelectWidget, 'resubmit', title=_('Form'), |
61 | 61 |
required=True, options=list_forms) |
62 |
form.add_submit('button%s' % self.id, label) |
|
62 |
form.add_submit('button%s' % self.id, label, attrs={'class': 'resubmit'})
|
|
63 | 63 |
form.get_widget('button%s' % self.id).backoffice_info_text = self.backoffice_info_text |
64 | 64 | |
65 | 65 |
def submit_form(self, form, formdata, user, evo): |
66 |
- |