Remove wrong "/:id" from POST requests in templates