Browse Source

DIV-662: text updates due to removing one of the 'your children' questions and augmenting another question that was very similar to the removed question

pull/160/head
Benard Ebinu 8 years ago
parent
commit
0210eddb6a
3 changed files with 30 additions and 76 deletions
  1. +0
    -6
      edivorce/apps/core/templates/partials/your_children_child.html
  2. +1
    -1
      edivorce/apps/core/templates/question/06_children_facts.html
  3. +29
    -69
      edivorce/apps/core/templates/question/06_children_your_children.html

+ 0
- 6
edivorce/apps/core/templates/partials/your_children_child.html View File

@ -34,12 +34,6 @@
<a href="#"><i class="fa fa-times btn-delete-child"></i></a> <a href="#"><i class="fa fa-times btn-delete-child"></i></a>
</td> </td>
{% endif %} {% endif %}
<td class="list-builder-hide-column">
<div id="child_custody_{{ div_id }}"
class="child-field"
data-save_select=".child-field"
data-target-form-field="child_custody">{{ custody }}</div>
</td>
<td class="list-builder-hide-column"> <td class="list-builder-hide-column">
<div id="child_live_with_other_details_{{ div_id }}" <div id="child_live_with_other_details_{{ div_id }}"
class="child-field" class="child-field"


+ 1
- 1
edivorce/apps/core/templates/question/06_children_facts.html View File

@ -7,7 +7,7 @@
{% block progress %}{% include "partials/progress.html" %}{% endblock %} {% block progress %}{% include "partials/progress.html" %}{% endblock %}
{% block content %} {% block content %}
<h1><small>Step {% step_order step="children" %}:</small>Children - Fact Sheets</h1>
<h1><small>Step {% step_order step="children" %}:</small>Children - Other Fact Sheets</h1>
<div id="claimant_children" hidden> <div id="claimant_children" hidden>
{{ claimant_children }} {{ claimant_children }}
</div> </div>


+ 29
- 69
edivorce/apps/core/templates/question/06_children_your_children.html View File

@ -77,91 +77,51 @@
{% input_field type="radio" class="radio-with-other children-input-block" name="child_live_with" value="Lives with you" data_target_id="other_child_details" data_reveal_target="false" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %} {% input_field type="radio" class="radio-with-other children-input-block" name="child_live_with" value="Lives with you" data_target_id="other_child_details" data_reveal_target="false" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %}
{% if name_you %}{{ name_you }}{% else %}You{% endif %} {% if name_you %}{{ name_you }}{% else %}You{% endif %}
</label> </label>
<p>Child lives primarily (more than 60%) with this parent</p>
<p>Child lives primarily (more than 60%) with this parent. This is referred to as sole custody.</p>
</div> </div>
<div class="radio"> <div class="radio">
<label class="tight-spacing"> <label class="tight-spacing">
{% input_field type="radio" class="radio-with-other children-input-block" name="child_live_with" value="Lives with spouse" data_target_id="other_child_details" data_reveal_target="false" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %} {% input_field type="radio" class="radio-with-other children-input-block" name="child_live_with" value="Lives with spouse" data_target_id="other_child_details" data_reveal_target="false" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %}
{% if name_spouse %}{{ name_spouse }}{% else %}Your spouse{% endif %} {% if name_spouse %}{{ name_spouse }}{% else %}Your spouse{% endif %}
</label> </label>
<p>Child lives primarily (more than 60%) with this parent</p>
<p>Child lives primarily (more than 60%) with this parent. This is referred to as sole custody.</p>
</div> </div>
<div class="radio"> <div class="radio">
<label class="tight-spacing"> <label class="tight-spacing">
{% input_field type="radio" class="radio-with-other children-input-block" name="child_live_with" value="Lives with both" data_target_id="other_child_details" data_reveal_target="false" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %} {% input_field type="radio" class="radio-with-other children-input-block" name="child_live_with" value="Lives with both" data_target_id="other_child_details" data_reveal_target="false" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %}
Both/Shared
Both parents -
{% if name_you %}{{ name_you }}{% else %}you{% endif %} and {% if name_you %}{{ name_you }}{% else %}you{% endif %} and
{% if name_spouse %}{{ name_spouse }}{% else %}your spouse{% endif %} {% if name_spouse %}{{ name_spouse }}{% else %}your spouse{% endif %}
</label> </label>
<p>The child live with both parents more or less equally (between 40-60% of the time with each
parent)</p>
</div>
<div class="radio">
<label>
{% input_field type="radio" class="radio-with-other radio-with-textbox children-input-block" name="child_live_with" value="Other" data_target_id="other_child_details" data_reveal_target="true" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %}
Other
{% input_field type="textarea" class="response-textbox other-textbox input-inline children-input-block" name="child_live_with_other_details" id="other_child_details" maxlength="500" rows="3" tabindex="-1" hidden="" data_mirror="true" data_mirror_target="#child_live_with_other_details_0" data_skip_ajax="true" %}
</label>
</div>
<div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"
data-target="#collapseChildLivingOptions" aria-controls="collapseChildLivingOptions">
<div>
Which option applies if my child is living away from home attending school?
</div>
</div>
<div class="collapse" id="collapseChildLivingOptions">
<div>
<p>
If the child is a dependent living away from home much of the year to attend school, select
the parent with whom the child primarily lives when he/she returns home.
</p>
</div>
</div>
</div>
<div class="question-well">
<h3>
What is your current parenting arrangement for child (insert name previously entered)?
</h3>
<p>The type of parenting arrangement you have can affect the way you calculate child support under the
<a href="http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/guide/step6-etap6.html" target="_blank">
Federal Guidelines.
</a>
</p>
<div class="radio">
<label class="tight-spacing">
{% input_field type="radio" class="radio-with-other children-input-block" name="child_custody" value="Sole custody" data_mirror="true" data_mirror_target="#child_custody_0" data_skip_ajax="true" %}
Sole custody
</label>
<p> <p>
Your child spends more than 60 percent of their time with one of you over the course of a year
</p>
</div>
<div class="radio">
<label class="tight-spacing">
{% input_field type="radio" class="radio-with-other children-input-block" name="child_custody" value="Split" data_mirror="true" data_mirror_target="#child_custody_0" data_skip_ajax="true" %}
Split
</label>
<p>
You split custody of your children if:
<ul>
<li>you have more than one child; and</li>
<li>you each have sole custody of at least one of the children</li>
</ul>
</p>
</div>
<div class="radio">
<label class="tight-spacing">
{% input_field type="radio" class="radio-with-other children-input-block" name="child_custody" value="Shared/Joint" data_mirror="true" data_mirror_target="#child_custody_0" data_skip_ajax="true" %}
Shared/Joint
</label>
<p>
You share custody of your children if they spend at least 40 percent of the time with each of you in
a year
The child live with both parents more or less equally (between 40-60% of the time with each parent).
This is referred to as shared custody.
</p> </p>
</div> </div>
{# Future releases will use the feature below. #}
{# <div class="radio">#}
{# <label>#}
{# {% input_field type="radio" class="radio-with-other radio-with-textbox children-input-block" name="child_live_with" value="Other" data_target_id="other_child_details" data_reveal_target="true" data_mirror="true" data_mirror_target="#child_live_with_0" data_skip_ajax="true" %}#}
{# Other#}
{# {% input_field type="textarea" class="response-textbox other-textbox input-inline children-input-block" name="child_live_with_other_details" id="other_child_details" maxlength="500" rows="3" tabindex="-1" hidden="" data_mirror="true" data_mirror_target="#child_live_with_other_details_0" data_skip_ajax="true" %}#}
{# </label>#}
{# </div>#}
{##}
{# <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false"#}
{# data-target="#collapseChildLivingOptions" aria-controls="collapseChildLivingOptions">#}
{# <div>#}
{# Which option applies if my child is living away from home attending school?#}
{# </div>#}
{# </div>#}
{# <div class="collapse" id="collapseChildLivingOptions">#}
{# <div>#}
{# <p>#}
{# If the child is a dependent living away from home much of the year to attend school, select#}
{# the parent with whom the child primarily lives when he/she returns home.#}
{# </p>#}
{# </div>#}
{# </div>#}
</div> </div>
<div class="question-well"> <div class="question-well">


Loading…
Cancel
Save