Browse Source

DIV-549: Adding who is payor question

pull/160/head
Benard Ebinu 8 years ago
parent
commit
b089a1b21e
2 changed files with 58 additions and 0 deletions
  1. +48
    -0
      edivorce/apps/core/templates/question/06_children_payor_medical.html
  2. +10
    -0
      edivorce/fixtures/Question.json

+ 48
- 0
edivorce/apps/core/templates/question/06_children_payor_medical.html View File

@ -9,6 +9,54 @@
{% block content %} {% block content %}
<h1><small>Step {% step_order step="children" %}:</small>Children - Payor & medical expenses</h1> <h1><small>Step {% step_order step="children" %}:</small>Children - Payor & medical expenses</h1>
<div class="question-well">
<h3>Who is the
<span class="tooltip-link"
data-toggle="tooltip" data-placement="right" data-html="true"
title="
<b>Payor</b>
<p>The person who pays child support.</p>
">
payor<i class="fa fa-question-circle" aria-hidden="true"></i>
</span>
?
</h3>
<p>
Please select one
</p>
<div class="radio">
<label>
{% input_field type="radio" name="child_support_payor" autocomplete="off" value="Myself (Claimant 1)" %} Myself (Claimant 1)
</label>
</div>
<div class="radio">
<label>
{% input_field type="radio" name="child_support_payor" autocomplete="off" value="My Spouse (Claimant 2)" %} My Spouse (Claimant 2)
</label>
</div>
<div class="radio">
<label>
{% input_field type="radio" name="child_support_payor" autocomplete="off" value="Both myself and my spouse" %} Both myself and my spouse
</label>
</div>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_determine_payor" aria-controls="collapse_determine_payor">
<div>
How do I determine who is the payor?
</div>
</div>
<div class="collapse" id="collapse_determine_payor">
<div>
<p>
The parent who the child lives with most of the time is entitled to child support from the other
parent. If a child spends equal (or almost equal) time with both parents, the parent with the higher
income will usually have to pay child support.
</p>
</div>
</div>
</div>
{% endblock %} {% endblock %}


+ 10
- 0
edivorce/fixtures/Question.json View File

@ -1504,6 +1504,16 @@
}, },
"model": "core.question", "model": "core.question",
"pk": "suggested_child_support" "pk": "suggested_child_support"
},
{
"fields": {
"name": "Who is the payor?",
"description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0,
"required": "Required"
},
"model": "core.question",
"pk": "child_support_payor"
} }
] ]

Loading…
Cancel
Save