Fix db based staticpage edit link