replace form with links