Browse Source

Add required fields to property & debts

pull/160/head
ariannedee 5 years ago
parent
commit
79475b0cfb
2 changed files with 7 additions and 5 deletions
  1. +6
    -5
      edivorce/apps/core/templates/question/08_property.html
  2. +1
    -0
      edivorce/apps/core/utils/question_step_mapping.py

+ 6
- 5
edivorce/apps/core/templates/question/08_property.html View File

@ -58,10 +58,11 @@
</p> </p>
</div> </div>
<div class="question-well">
<div class="question-well {% if deal_with_property_debt_error %}error{% endif %}">
<h3>How have you and <h3>How have you and
{% if name_spouse %}{{ name_spouse }}{% else %}your spouse{% endif %} {% if name_spouse %}{{ name_spouse }}{% else %}your spouse{% endif %}
agreed to deal with your property and debt?</h3>
agreed to deal with your property and debt?{% if deal_with_property_debt_error %}{% include 'partials/required.html' %}{% endif %}
</h3>
<div class="radio"> <div class="radio">
<label> <label>
{% input_field type="radio" name="deal_with_property_debt" value="Equal division" data_target_id="property_debt_division_method" data_reveal_target="false" %} {% input_field type="radio" name="deal_with_property_debt" value="Equal division" data_target_id="property_debt_division_method" data_reveal_target="false" %}
@ -103,9 +104,9 @@
</div> </div>
<div id="property_debt_division_method" class="question-well" hidden>
<div id="property_debt_division_method" class="question-well {% if how_to_divide_property_debt_error %}error{% endif %}" hidden>
<h3>Please describe how you and your spouse plan to divide your property, <h3>Please describe how you and your spouse plan to divide your property,
assets and your debts. </h3>
assets and your debts.{% if how_to_divide_property_debt_error %}{% include 'partials/required.html' %}{% endif %}</h3>
<p>Because the division of family property and debt can be complex we <p>Because the division of family property and debt can be complex we
recommend you get recommend you get
<a href="http://www2.gov.bc.ca/gov/content/life-events/divorce/family-justice/who-can-help/lawyers" <a href="http://www2.gov.bc.ca/gov/content/life-events/divorce/family-justice/who-can-help/lawyers"
@ -146,7 +147,7 @@
</div> </div>
<div class="question-well"> <div class="question-well">
<h3>Other Property Claims</h3>
<h3>Other Property Claims{% include 'partials/optional.html' %}</h3>
<p>This section is for property claims not covered by the Family Law <p>This section is for property claims not covered by the Family Law
Act—property that is not family property. This includes:</p> Act—property that is not family property. This includes:</p>
<ul> <ul>


+ 1
- 0
edivorce/apps/core/utils/question_step_mapping.py View File

@ -181,6 +181,7 @@ page_step_mapping = {
'marriage': 'your_marriage', 'marriage': 'your_marriage',
'separation': 'your_separation', 'separation': 'your_separation',
'support': 'spousal_support', 'support': 'spousal_support',
'property': 'property_and_debt',
} }


Loading…
Cancel
Save