Browse Source

Merge pull request #32 from bcgov/DIV-901

DIV-901: Added condition when custom monthly support amount value pre…
pull/160/head
Charles Shin 7 years ago
committed by GitHub
parent
commit
1eef316e6f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      edivorce/apps/core/templates/question/06_children_what_for.html

+ 9
- 3
edivorce/apps/core/templates/question/06_children_what_for.html View File

@ -45,9 +45,15 @@
<label class="radio-with-textbox">
{% input_field type="radio" class="radio-centered radio-with-other radio_with_textbox" name="child_support_in_order" value="DIFF" data_target_class="support-amount-match" data_reveal_class="true" data_target_id="child_support_in_order_detail" data_reveal_target="false" %}
<div class="dollar-prefix">
{% money_input_field name="order_monthly_child_support_amount" class="money positive-float form-block response-textbox children-input-block child-support-amount" data_ajax_only_radio_selected="true" %}
</div>
{% if child_support_in_order == 'DIFF' %}
<div class="dollar-prefix">
{% money_input_field name="order_monthly_child_support_amount" class="money positive-float form-block response-textbox children-input-block child-support-amount" data_ajax_only_radio_selected="true" %}
</div>
{% else %}
<div class="dollar-prefix">
{% money_input_field name="order_monthly_child_support_amount" class="money positive-float form-block response-textbox children-input-block child-support-amount" data_ajax_only_radio_selected="true" value='0' %}
</div>
{% endif %}
Different amount (does not match Child Support Guidelines)
</label>
</div>


Loading…
Cancel
Save