ソースを参照

Fix open/close of `block content-body` in some places

Scot Hacker 8 年 前
コミット
acb109439a

+ 1 - 1
bakerydemo/templates/base/form_page.html

@@ -6,7 +6,7 @@
     {{ page.intro|richtext }}
 {% endblock content-header %}
 
-{% endblock content-body %}
+{% block content-body %}
     <form action="{% pageurl page %}" method="POST">
         {% csrf_token %}
         {{ form.as_p }}

+ 1 - 1
bakerydemo/templates/base/home_page.html

@@ -10,6 +10,6 @@
     </div>
 {% endblock content-header %}
 
-{% endblock content-body %}
+{% block content-body %}
     {{ page.body }}
 {% endblock content-body %}

+ 2 - 2
bakerydemo/templates/breads/bread_page.html

@@ -8,8 +8,8 @@
     </figure>
 {% endblock content-header %}
 
-{% endblock content %}
+{% block content-body %}
     <p>{{ page.origin }}</p>
     <p>{{ page.bread_type }}</p>
     {{ page.description }}
-{% endblock content %}
+{% endblock content-body %}