From 98037d46b2cfb677395e238dff462e63daed80ff Mon Sep 17 00:00:00 2001 From: Benard Ebinu Date: Mon, 4 Dec 2017 12:44:31 -0800 Subject: [PATCH] Styling changes in fact sheet based off of feedback from review --- .../partials/fact_sheet_excessive_debt.html | 2 +- .../templates/question/12_fact_sheets.html | 138 +++--------------- 2 files changed, 21 insertions(+), 119 deletions(-) diff --git a/edivorce/apps/core/templates/partials/fact_sheet_excessive_debt.html b/edivorce/apps/core/templates/partials/fact_sheet_excessive_debt.html index b619a084..02eb9be0 100644 --- a/edivorce/apps/core/templates/partials/fact_sheet_excessive_debt.html +++ b/edivorce/apps/core/templates/partials/fact_sheet_excessive_debt.html @@ -3,7 +3,7 @@ {% input_field type="text" name="debt_name" value=debt_name maxlength="100" multiple='true' class="fact-sheet-input debt-input-field" placeholder="Name of creditor" %} - {% input_field type="textarea" name="debt_terms" value=debt_terms maxlength="250" multiple='true' class="fact-sheet-input debt-input-field" placeholder="For example, how much is owed, what is the rate of interest, when it must be repaid." %} + {% input_field type="textarea" name="debt_terms" value=debt_terms maxlength="250" rows="10" multiple='true' class="fact-sheet-input debt-input-field" placeholder="For example, how much is owed, what is the rate of interest, when it must be repaid." %}
diff --git a/edivorce/apps/core/templates/question/12_fact_sheets.html b/edivorce/apps/core/templates/question/12_fact_sheets.html index b6ee422d..45c8e20e 100644 --- a/edivorce/apps/core/templates/question/12_fact_sheets.html +++ b/edivorce/apps/core/templates/question/12_fact_sheets.html @@ -215,6 +215,17 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines

Fact Sheet B Shared Custody

+
+

Number of children

+

+ This is the number of children for which you and your spouse have a shared parenting arrangement + (the child spends at least 40 percent of the time with each of you in a year). If you and your spouse + have a split parenting arrangement for any other children, do not include them in this set of questions. +

+ {% input_field type="number" name="number_of_children" class="form-control input-narrow" readyonly="" %} +
+
+ @@ -225,23 +236,17 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines - - + @@ -277,10 +282,10 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines )? @@ -364,108 +369,6 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines ) to be paid annually - - - - - - - - - - - -
- Number of children
- This is the number of children for which you and your spouse have a shared parenting arrangement - (the child spends least 40 percent of the time with each of you in a year). If you and your spouse - have a split parenting arrangement for any other children, do not include them in this set of questions. -
{% input_field type="number" name="number_of_children" class="form-control" readyonly="" %}
What is the approximate amount of time the children spend with each parent? - {% input_field type="number" name="time_spent_with_you" value="0" class="form-control" %} + {% input_field type="number" name="time_spent_with_you" value="0" class="fact-sheet-input" %} - {% input_field type="number" name="time_spent_with_spouse" value="0" class="form-control" %} + {% input_field type="number" name="time_spent_with_spouse" value="0" class="fact-sheet-input" %}
- {% input_field type="number" name="your_child_support_paid" value="0" class="form-control" %} + {% input_field type="number" name="your_child_support_paid" value="0" class="fact-sheet-input" %} - {% input_field type="number" name="your_spouse_child_support_paid" value="0" class="form-control" %} + {% input_field type="number" name="your_spouse_child_support_paid" value="0" class="fact-sheet-input" %}
- {% input_field type="number" name="extra_ordinary_expenses_you" value="0" class="form-control" %} - - {% input_field type="number" name="extra_ordinary_expenses_spouse" value="0" class="form-control" %} -
- Any other relevant information regarding the conditions, means, needs and other circumstances of - each spouse or of any child for whom support is sought? - {% input_field type="textarea" name="additional_relevant_spouse_children_info" value="" maxlength="500" rows="3" class="form-control" %} -
- Amount of child support to be paid per month by < Claimant 1 or Claimant 2> - - {{ difference_between_claimants }} -
-
- -
-

Fact Sheet B Shared Custody

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -477,7 +380,7 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines @@ -485,7 +388,7 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines Amount of child support to be paid per month by < Claimant 1 or Claimant 2> @@ -954,7 +857,6 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines

Fact Sheet F Income over $150,000

-

Unusual or excessive debts

ClaimantRespondent
- Number of children
- This is the number of children for which you and your spouse have a shared parenting arrangement - (the child spends least 40 percent of the time with each of you in a year). If you and your spouse - have a split parenting arrangement for any other children, do not include them in this set of questions. -
{% input_field type="number" name="number_of_children_shared" class="fact-sheet-input" readyonly="" %}
- What is the approximate amount of time the children spend with each parent? - - {% input_field type="number" name="time_spent_with_you" value="0" class="fact-sheet-input" %} - - {% input_field type="number" name="time_spent_with_spouse" value="0" class="fact-sheet-input" %} -
Annual income as per - {% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-2.html#h-6" link_text="Federal Child Support Guidelines" %} - - {% input_field type="number" name="your_income" value="0" class="fact-sheet-input" readonly=""%} - - {% input_field type="number" name="your_spouse_income" value="0" class="fact-sheet-input" readonly=""%} -
What is the monthly amount for child support (as per - {% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/page-11.html#h-15" link_text="Federal Child Support Guidelines" %} - )? - - {% include "partials/inline_question_determine_amount_to_pay.html" with collapse_target_id="collapse_amounted_needed" %} - - {% input_field type="number" name="your_child_support_paid" value="0" class="fact-sheet-input" %} - - {% input_field type="number" name="your_spouse_child_support_paid" value="0" class="fact-sheet-input" %} -
- -
- Difference between the Guidelines table amount of the claimant and the Guidelines table amount of the respondent - - {% input_field type="number" name="difference_between_claimants" value="0" class="fact-sheet-input" readonly="" %} -
- Special or extraordinary expenses (as per - {% include "partials/tooltip_link_federal_child_support_guidelines.html" with reference_link="http://laws-lois.justice.gc.ca/eng/regulations/SOR-97-175/section-7.html" link_text="Section 7 of the Federal Child Support Guidelines" %} - ) to be paid annually - {% input_field type="number" name="extra_ordinary_expenses_you" value="0" class="fact-sheet-input" %} Any other relevant information regarding the conditions, means, needs and other circumstances of each spouse or of any child for whom support is sought? - {% input_field type="textarea" name="additional_relevant_spouse_children_info" value="" maxlength="500" rows="3" class="fact-sheet-input form-control" %} + {% input_field type="textarea" name="additional_relevant_spouse_children_info" value="" maxlength="500" rows="3" class="fact-sheet-input" %}
- {{ total_claimant_paid_child_support }} + {{ difference_between_claimants }}
@@ -1062,11 +964,11 @@ Including the monthly Guidelines table amount under Schedule 1 of the Guidelines