Browse Source

DIV-710: Input field for child support amount in order implemented

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

+ 5
- 2
edivorce/apps/core/templates/question/06_children_payor_medical.html View File

@ -177,7 +177,10 @@
</h3> </h3>
<div class="radio"> <div class="radio">
<label> <label>
{% input_field type="radio" name="child_support_in_order" value="YES" data_target_id="does_amount_match" data_reveal_target="true" %}$ <span id="child_support_amount_label">{{ payor_monthly_child_support_amount }}</span>
{% input_field type="radio" class="radio-with-other radio_with_textbox" name="child_support_in_order" value="YES" data_target_id="does_amount_match" data_reveal_target="true" %}
<div class="dollar-prefix">
{% money_input_field name="order_monthly_child_support_amount" class="money form-block response-textbox children-input-block" data_mirror="true" data_mirror_target="#child_support_amount_label" %}
</div>
</label> </label>
</div> </div>
@ -187,7 +190,7 @@
{% input_field type="radio" class="radio-with-other radio_with_textbox" name="child_support_in_order" value="NO" data_target_id="does_amount_match" data_reveal_target="false" %}We are not asking for child support to be included in the order {% input_field type="radio" class="radio-with-other radio_with_textbox" name="child_support_in_order" value="NO" data_target_id="does_amount_match" data_reveal_target="false" %}We are not asking for child support to be included in the order
</label> </label>
<p> <p>
Please describe what arrangements have made for the support of the child (ren)?
Please describe what arrangements have been made for the support of the child (ren)?
{% input_field type="textarea" name="child_support_in_order_reason" class="other-textbox response-textarea form-control" tabindex="-1" maxlength="500" rows="3" %} {% input_field type="textarea" name="child_support_in_order_reason" class="other-textbox response-textarea form-control" tabindex="-1" maxlength="500" rows="3" %}
</p> </p>
</div> </div>


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

@ -1535,6 +1535,18 @@
"model": "core.question", "model": "core.question",
"pk": "child_support_in_order" "pk": "child_support_in_order"
}, },
{
"fields": {
"name": "What is the monthly child support amount proposed in the order to be paid by",
"description": "For Step 6, Your children - Payor & medical expenses",
"summary_order": 0,
"required": "Conditional",
"conditional_target": "child_support_in_order",
"reveal_response": "YES"
},
"model": "core.question",
"pk": "order_monthly_child_support_amount"
},
{ {
"fields": { "fields": {
"name": "We are not asking for child support to be included in the order", "name": "We are not asking for child support to be included in the order",


Loading…
Cancel
Save