diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html
index d1744f9..60936fe 100644
--- a/progit/templates/pull_request.html
+++ b/progit/templates/pull_request.html
@@ -1,7 +1,7 @@
{% extends "repo_master.html" %}
{% from "_formhelper.html" import render_field_in_row %}
-{% block title %}Pull request #{{ request.id }} - {{ repo.name }}{% endblock %}
+{% block title %}Pull request #{{ requestid }} - {{ repo.name }}{% endblock %}
{%block tag %}home{% endblock %}