Skip to content

Commit

Permalink
Initial styling form success page. Workson wagtail-nest#15.
Browse files Browse the repository at this point in the history
  • Loading branch information
hminnovation committed Feb 27, 2017
1 parent 268228d commit a870eb5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions bakerydemo/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 3 additions & 1 deletion bakerydemo/templates/base/form_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit a870eb5

Please sign in to comment.