From 2f76bef9c49ce7246db01a3ebb91e672287e2a20 Mon Sep 17 00:00:00 2001
From: Charles Shin
- Claimant: {% 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 class_name='form-entry_claimant' %} + Claimant 1: {% 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 class_name='form-entry_claimant' %}
- Respondent: {% include "partials/name_with_alias.html" with name=responses.name_spouse use_other_name=responses.any_other_name_spouse other_names=responses.other_name_spouse class_name='form-entry_claimant' %} + Claimant 2: {% include "partials/name_with_alias.html" with name=responses.name_spouse use_other_name=responses.any_other_name_spouse other_names=responses.other_name_spouse class_name='form-entry_claimant' %}
AFFIDAVIT - DESK ORDER DIVORCE
- I, {% if responses.name_claimant %}{{ responses.name_claimant }}{% else %}[name]{% endif %}, of + I, {% if responses.name_claimant %}{{ responses.name_claimant }}{% else %}{% endif %}, of {% if responses.address_to_send_official_document_street_claimant and responses.address_to_send_official_document_city_claimant and responses.address_to_send_official_document_prov_claimant and responses.address_to_send_official_document_country_claimant and responses.address_to_send_official_document_postal_code_claimant %} {{ responses.address_to_send_official_document_street_claimant }}, {{ responses.address_to_send_official_document_city_claimant }}, {{ responses.address_to_send_official_document_prov_claimant }}, {% if responses.address_to_send_official_document_country_claimant == 'Other' %} {{ responses.address_to_send_official_document_other_country_claimant }}{% else %} {{ responses.address_to_send_official_document_country_claimant }}{% endif %}, {{ responses.address_to_send_official_document_postal_code_claimant }} {% else %}[address]{% endif %}, {% if responses.occupation_claimant %} {{ responses.occupation_claimant }}{% else %}[occupation]{% endif %}, SWEAR (OR AFFIRM) THAT:
- 1 I am [the claimant/the respondent/Claimant 1/Claimant 2]. + 1 I am {% if responses.which_claimant %}{{ responses.which_claimant }}{% else %}{% endif %}.
2 There is no possibility of reconciliation between my spouse and me. diff --git a/edivorce/apps/core/views/pdf.py b/edivorce/apps/core/views/pdf.py index 590fcc7f..3cdb1b5f 100644 --- a/edivorce/apps/core/views/pdf.py +++ b/edivorce/apps/core/views/pdf.py @@ -20,9 +20,11 @@ def form(request, form_number): if form_number == "38_claimant1": form_number = "38" responses = __add_claimant_info(responses, '_you') + responses["which_claimant"] = "Claimant 1" elif form_number == "38_claimant2": form_number = "38" responses = __add_claimant_info(responses, '_spouse') + responses["which_claimant"] = "Claimant 2" return __render_form(request, 'form%s' % form_number, {