Added edit links to fail page