2
0
Эх сурвалжийг харах

Initial styling form success page. Workson #15.

Edd Baldry 8 жил өмнө
parent
commit
a870eb57ad

+ 5 - 0
bakerydemo/static/css/main.css

@@ -819,6 +819,11 @@ span.outline {
   max-width: 350px;
 }
 
+/* Form thank you page */
+.form-page-thanks h1 {
+  margin-bottom: 30px;
+}
+
 /* No gutters */
 .row.no-gutters {
   margin-right: 0;

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

@@ -7,7 +7,9 @@
         <div class="col-md-8">
             <h1>{{ page.title }}</h1>
             
-            <p class="intro">{{ page.intro|richtext }}</p>
+            {% if page.intro %}
+                <p class="intro">{{ page.intro|richtext }}</p>
+            {% endif %}
         </div>
     </div>
 </div>