display general form view on new form, not fields view

This commit is contained in:
Frédéric Péters 2013-01-23 23:23:21 +01:00 committed by Thomas NOEL
parent 1f136c1b13
commit 9277880b87
1 changed files with 1 additions and 1 deletions

View File

@ -1048,7 +1048,7 @@ class FormsDirectory(Directory):
except ValueError:
pass
else:
return redirect(str(formdef.id) + '/fields')
return redirect(str(formdef.id) + '/')
html_top('forms', title = _('New Form'))
'<h2>%s</h2>' % _('New Form')