Implement validations to back/edit link in show template of products