diff --git a/edivorce/apps/core/static/css/weasyprint.css b/edivorce/apps/core/static/css/weasyprint.css index da66e2c3..66f80fc3 100644 --- a/edivorce/apps/core/static/css/weasyprint.css +++ b/edivorce/apps/core/static/css/weasyprint.css @@ -287,6 +287,11 @@ ol.force-break-last > li:last-child { page-break-before: always; } +.avoid-break-alone { + page-break-before: avoid; + page-break-inside: avoid; +} + .fake-checkbox { display: inline-block; width: 18px; @@ -297,7 +302,7 @@ ol.force-break-last > li:last-child { } .sig-line-text .fake-checkbox { - margin-left: 0.5em; + margin-left: 0.5em; margin-right: 0.5em; } diff --git a/edivorce/apps/core/templates/pdf/form52.html b/edivorce/apps/core/templates/pdf/form52.html index af31ecbd..bea6a141 100644 --- a/edivorce/apps/core/templates/pdf/form52.html +++ b/edivorce/apps/core/templates/pdf/form52.html @@ -61,11 +61,9 @@ Family Rules, and on considering the evidence put forward;
- {% if derived.wants_divorce_order %} + {% if derived.wants_divorce_order %}THIS COURT ORDERS that
- -Subject to section 12 of the Divorce Act (Canada), claimant 1, {% if responses.name_you %}{% include "partials/name_with_alias.html" with name=responses.name_you use_other_name=responses.any_other_name_you other_names=responses.other_name_you %}{% else %}{% endif %}, and claimant 2, @@ -86,21 +84,15 @@ {% else %}{% endif %}, are divorced from each other, the divorce to take effect on {% effective_date %}. -
THIS COURT ORDERS that BY CONSENT:
{% endif %} -THE FOLLOWING PARTIES APPROVE THE FORM OF THIS ORDER AND CONSENT TO EACH OF THE ORDERS, IF ANY, THAT ARE INDICATED ABOVE @@ -200,6 +196,7 @@ +