misc: do not add a "Steps" title (#72815)

This commit is contained in:
Frédéric Péters 2022-12-28 17:49:58 +01:00
parent f15fa49353
commit 2197155dd7
1 changed files with 0 additions and 2 deletions

View File

@ -21,8 +21,6 @@ OldFormPage = wcs.forms.root.FormPage
class AlternateFormPage(OldFormPage):
def form_side(self, *args, **kwargs):
form_side_html = OldFormPage.form_side(self, *args, **kwargs)
# add a 'Steps' title
form_side_html = str(form_side_html).replace('<ol', '<h2>%s</h2>\n<ol' % _('Steps'))
get_response().filter['gauche'] = form_side_html
get_response().filter['steps'] = form_side_html
return