瀏覽代碼

Better inheritance on form page template (#89)

Vince Salvino 6 年之前
父節點
當前提交
8df158b29b
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      coderedcms/templates/coderedcms/pages/form_page.html

+ 2 - 2
coderedcms/templates/coderedcms/pages/form_page.html

@@ -2,9 +2,9 @@
 
 {% load wagtailcore_tags coderedcms_tags bootstrap4 %}
 
-{% block content %}
+{% block content_body %}
 
-{% include_block page.body with settings=settings %}
+{{ block.super }}
 
 {% if page.form_live %}
 <div class="container">