Change template for edit static page, fixes #5593