Browse Source

Ensure hide and reveal of undue hardship works correctly

pull/160/head
Benard Ebinu 8 years ago
parent
commit
5889271a14
1 changed files with 11 additions and 39 deletions
  1. +11
    -39
      edivorce/apps/core/templates/question/06_children_income_expenses.html

+ 11
- 39
edivorce/apps/core/templates/question/06_children_income_expenses.html View File

@ -25,7 +25,7 @@
Under these rules, the total income shown on line 150 of your most recent income tax return or your Under these rules, the total income shown on line 150 of your most recent income tax return or your
notice of assessment is a good place to start. The Federal Child Support Guidelines Step by Step notice of assessment is a good place to start. The Federal Child Support Guidelines Step by Step
Guide has a Guide has a
<a href="" target="_blank">worksheet</a> you can use to help calculate your annual income.
worksheet you can use to help calculate your annual income.
</p> </p>
</div> </div>
@ -577,7 +577,7 @@
</label> </label>
<label class="btn btn-radio"> <label class="btn btn-radio">
{% input_field type="radio" name="claiming_undue_hardship" autocomplete="off" value="NO" data_target_id="undue_amount_question" data_reveal_target="true" %} NO
{% input_field type="radio" name="claiming_undue_hardship" autocomplete="off" value="NO" data_target_id="fact_sheet_e" data_reveal_target="false" %} NO
</label> </label>
</div> </div>
@ -615,14 +615,6 @@
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table> </table>
<div> <div>
<input type="button" id="btn_add_debt" class="btn btn-success" value="Add Debt"/> <input type="button" id="btn_add_debt" class="btn btn-success" value="Add Debt"/>
@ -696,7 +688,7 @@
{% endif %} {% endif %}
</tbody> </tbody>
</table> </table>
<div class="form-group">
<div>
<input type="button" id="btn_add_supporting_non_dependent" class="btn btn-success" value="Add Person"/> <input type="button" id="btn_add_supporting_non_dependent" class="btn btn-success" value="Add Person"/>
</div> </div>
@ -734,7 +726,7 @@
{% endif %} {% endif %}
</tbody> </tbody>
</table> </table>
<div class="form-group">
<div>
<input type="button" id="btn_add_supporting_dependent" class="btn btn-success" value="Add Person"/> <input type="button" id="btn_add_supporting_dependent" class="btn btn-success" value="Add Person"/>
</div> </div>
@ -766,19 +758,10 @@
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
<tbody>
<tr>
<td></td>
<td></td>
<td></td>
<td class="list-builder-button">
<div class="form-group">
<input type="button" id="btn_add_supporting_disabled" class="btn btn-success" value="Add Person"/>
</div>
</td>
</tr>
</tbody>
</table> </table>
<div class="form-group">
<input type="button" id="btn_add_supporting_disabled" class="btn btn-success" value="Add Person"/>
</div>
<p>Other undue hardship circumstances</p> <p>Other undue hardship circumstances</p>
{% input_field type="textarea" name="undue_hardship" value="" maxlength="500" multiple='true' class="fact-sheet-input form-control" placeholder="" %} {% input_field type="textarea" name="undue_hardship" value="" maxlength="500" multiple='true' class="fact-sheet-input form-control" placeholder="" %}
@ -810,17 +793,6 @@
</tr> </tr>
{% endif %} {% endif %}
</tbody> </tbody>
<tbody>
<tr>
<td></td>
<td></td>
<td class="list-builder-button">
<div class="form-group">
<input type="button" id="btn_add_income_others" class="btn btn-success" value="Add Person"/>
</div>
</td>
</tr>
</tbody>
<tbody> <tbody>
<tr> <tr>
<td>Total</td> <td>Total</td>
@ -830,10 +802,10 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
<div id="undue_amount_question" hidden>
<div>
<input type="button" id="btn_add_income_others" class="btn btn-success" value="Add Person"/>
</div>
<div id="undue_amount_question" hidden></div>
</div> </div>
</div> </div>


Loading…
Cancel
Save