diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
index d8712d52c8..4a6e30fc00 100644
--- a/docs/topics/auth.txt
+++ b/docs/topics/auth.txt
@@ -794,7 +794,8 @@ the following line to your URLconf::
         <p>Your username and password didn't match. Please try again.</p>
         {% endif %}
 
-        <form method="post" action="{% url django.contrib.auth.views.login %}">{% csrf_token %}
+        <form method="post" action="{% url django.contrib.auth.views.login %}">
+        {% csrf_token %}
         <table>
         <tr>
             <td>{{ form.username.label_tag }}</td>