Fix broken template creation route