Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixes #10068 -- consistent positioning for search bar across document…

…ation pages
  • Loading branch information...
commit fa7650430bd10eaa76c5a3d6bc0d31868515616b 1 parent 74eab7e
@justinabrahms justinabrahms authored
Showing with 6 additions and 7 deletions.
  1. +6 −7 django_website/docs/templates/docs/doc.html
View
13 django_website/docs/templates/docs/doc.html
@@ -66,19 +66,18 @@ <h2 id="comments">Questions/Feedback</h2>
{% endblock %}
{% block content-related %}
+ {% block search %}
+ <h2>Search</h2>
+ {% load docs %}
+ {% search_form %}
+ {% endblock %}
+
{% block toc-wrapper %}
<h2>Contents</h2>
{% block toc %}
{{ doc.toc|safe }}
{% endblock %}
{% endblock %}
-
- {% block search %}
- <h2>Search</h2>
- {% load docs %}
- {% search_form %}
- {% endblock %}
-
{% block browse-wrapper %}
<h2>Browse</h2>
<ul>
Please sign in to comment.
Something went wrong with that request. Please try again.