{% extends 'base.html' %}
{% load input_field %}

{% block title %}{{ block.super }}: Prequalification{% endblock %}

{% block content %}
<div class="container-wrapper">
    <div class="container">
        <div class="row">
            <div class="col-md-8 col-md-offset-2">
                <h3>Do you and your spouse have any children (includes step children, adopted children). The  legal term is children of the marriage
                    <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="bottom" data-html="true"
                       title="<b>Children for the Marriage</b><br/><br/> The
                       <a href=&quot;http://wiki.clicklaw.bc.ca/index.php?title=Divorce Act&quot;>Divorce Act</a> defines child of the  marriage as:
                        Child of the marriage means a child of two spouses or former spouses who, at the material time,<ol type=&quot;a&quot;>
                        <li>is under the age of majority and who has not withdrawn from their charge, or</li>
                        <li>is the age of majority or over and under their charge but unable, by reason of illness, disability
                            or other cause, to withdraw from their charge or to obtain the necessaries of life; (enfant à charge)?</li></ol>
                        More details on the
                        <a href=&quot;http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/rp/v2/v2_7.html&quot;>definition of &quot;child of the marriage&quot;</a>
                        can be found on the Department of Justice web site." aria-hidden="true"></i>?</h3>

                <div class="btn-radio-group" data-toggle="buttons">
                    <label class="btn btn-radio">
                        {% input_field type="radio"  name="children_of_marriage" autocomplete="off" value="YES" data_target_id="has_children" data_reveal_target="true" %} Yes
                    </label>

                    <label class="btn btn-radio">
                        {% input_field type="radio"  name="children_of_marriage" autocomplete="off" value="NO" data_target_id="has_children" data_reveal_target="false" %} No
                    </label>
                </div>

                <p><em>If you had children with your spouse, but the children are over
                    the age of majority (19 in British Columbia) and independent, they are
                    no longer considered ‘children of the marriage’ under the Divorce
                    Act, and you do not need to include their information in your
                    divorce documents. Or, if you wish, you can name them in your
                    documents, and indicate that they are over 19 and independent,
                    and no longer requiring support.</em></p>

                <div class="reveal" id="has_children" hidden>
                    <h3>Are any of the children 19 years or younger?</h3>

                    <div class="btn-radio-group" data-toggle="buttons">
                        <label class="btn btn-radio">
                            {% input_field type="radio"  name="any_under_19" autocomplete="off" value="YES" data_target_id="younger_19" data_reveal_target="true" data_related_id="financial_support" %} Yes
                        </label>

                        <label class="btn btn-radio">
                            {% input_field type="radio"  name="any_under_19" autocomplete="off" value="NO" data_target_id="younger_19" data_reveal_target="false" data_related_id="financial_support" %} No
                        </label>
                    </div>

                    <div class="information-message bg-danger" id="younger_19" hidden>
                        <p>Sorry but at this point in time you will need to complete your application for divorce using the
                            Supreme Court of B.C. forms (PDF). The
                            <a href="http://www.ag.gov.bc.ca/courts/other/supreme/2010SupRules/info/index_family.htm" target="_blank">forms</a>
                            can be found on the Court Services Branch web site: Supreme Court - Provincial Court.</p>
                        <p>A <a href="http://www.familylaw.lss.bc.ca/guides/divorce/divJoint_courtForms.php" target="_blank">listing of forms</a>
                            that may be required for a Joint Divorce can also be found on the Legal Services Society web site.</p>
                    </div>

                    <div class="reveal" id="financial_support" hidden>
                        <h3>Are you financially supporting any of the children that are 19 years or older? Please check all that apply.</h3>
                        <div class="checkbox-group">
                            <div class="checkbox"><label>{% input_field type="checkbox" name="children_financial_support" value="No" data_target_id="need_support" data_reveal_target="false" %}No</label></div>
                            <div class="checkbox"><label>{% input_field type="checkbox" name="children_financial_support" value="Yes, attending post secondary institution (e.g. college, university)" data_target_id="need_support" data_reveal_target="true" %}Yes, attending post secondary institution (e.g. college, university)</label></div>
                            <div class="checkbox"><label>{% input_field type="checkbox" name="children_financial_support" value="Yes, due to disability" data_target_id="need_support" data_reveal_target="true" %}Yes, due to disability</label></div>
                            <div class="checkbox"><label>{% input_field type="checkbox" name="children_financial_support" value="Yes, due to illness" data_target_id="need_support" data_reveal_target="true" %}Yes, due to illness</label></div>
                            <div class="checkbox"><label>{% input_field type="checkbox" name="children_financial_support" value="Yes, other reason" data_target_id="need_support" data_reveal_target="true" %}Yes, other reason(s)</label></div>
                        </div>
                        <div class="information-message bg-danger" id="need_support" hidden>
                            <p>Sorry but at this point in time you will not be able to complete your application for divorce using this online tool.
                                Currently the tool supports a limited number of scenarios. In the meantime, you can file for divorce using the
                                <a href="http://www.ag.gov.bc.ca/courts/other/supreme/2010SupRules/info/index_family.htm" target="_blank">forms</a>
                                provided on the  Supreme Court of B.C. website.  (PDF).</p>
                            <p>A <a href="http://www.familylaw.lss.bc.ca/guides/divorce/divJoint_courtForms.php" target="_blank">listing of forms</a>
                                that may be required for a Joint Divorce, as well as an overview of the divorce process,
                                can be found on the Legal Services Society web site.</p>
                        </div>
                    </div>
                </div>
                <form action="{% url 'prequalification' '05' %}">
                    <input type="submit" value="Next"/>
                </form>
            </div>
        </div>
    </div>
</div>
{% endblock %}
{% block sidebar %}
<!-- no sidebar -->
{% endblock %}