| @ -0,0 +1,26 @@ | |||
| # -*- coding: utf-8 -*- | |||
| from __future__ import unicode_literals | |||
| from django.db import migrations, models | |||
| class Migration(migrations.Migration): | |||
| dependencies = [ | |||
| ('core', '0003_auto_20170111_2157'), | |||
| ] | |||
| operations = [ | |||
| migrations.AlterModelOptions( | |||
| name='formquestions', | |||
| options={'verbose_name_plural': 'Form Questions'}, | |||
| ), | |||
| migrations.AlterModelOptions( | |||
| name='legalform', | |||
| options={'ordering': ('order',), 'verbose_name_plural': 'Legal Forms'}, | |||
| ), | |||
| migrations.AlterModelOptions( | |||
| name='question', | |||
| options={'ordering': ('key',)}, | |||
| ), | |||
| ] | |||
| @ -0,0 +1,36 @@ | |||
| # -*- coding: utf-8 -*- | |||
| from __future__ import unicode_literals | |||
| from django.db import migrations, models | |||
| from django.conf import settings | |||
| class Migration(migrations.Migration): | |||
| dependencies = [ | |||
| migrations.swappable_dependency(settings.AUTH_USER_MODEL), | |||
| ('core', '0004_auto_20170112_2003'), | |||
| ] | |||
| operations = [ | |||
| migrations.CreateModel( | |||
| name='UserResponse', | |||
| fields=[ | |||
| ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), | |||
| ('value', models.TextField(blank=True)), | |||
| ('question', models.ForeignKey(to='core.Question')), | |||
| ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)), | |||
| ], | |||
| ), | |||
| migrations.RemoveField( | |||
| model_name='response', | |||
| name='question', | |||
| ), | |||
| migrations.RemoveField( | |||
| model_name='response', | |||
| name='user', | |||
| ), | |||
| migrations.DeleteModel( | |||
| name='Response', | |||
| ), | |||
| ] | |||
| @ -0,0 +1,19 @@ | |||
| # -*- coding: utf-8 -*- | |||
| from __future__ import unicode_literals | |||
| from django.db import migrations, models | |||
| class Migration(migrations.Migration): | |||
| dependencies = [ | |||
| ('core', '0005_auto_20170131_0004'), | |||
| ] | |||
| operations = [ | |||
| migrations.AlterField( | |||
| model_name='profile', | |||
| name='bceid', | |||
| field=models.CharField(db_index=True, max_length=100), | |||
| ), | |||
| ] | |||
| @ -0,0 +1,41 @@ | |||
| # -*- coding: utf-8 -*- | |||
| from __future__ import unicode_literals | |||
| from django.db import migrations, models | |||
| import django.utils.timezone | |||
| class Migration(migrations.Migration): | |||
| dependencies = [ | |||
| ('core', '0006_auto_20170209_1858'), | |||
| ] | |||
| operations = [ | |||
| migrations.CreateModel( | |||
| name='BceidUser', | |||
| fields=[ | |||
| ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), | |||
| ('user_guid', models.CharField(unique=True, max_length=36, db_index=True)), | |||
| ('date_joined', models.DateTimeField(default=django.utils.timezone.now)), | |||
| ('last_login', models.DateTimeField(default=django.utils.timezone.now)), | |||
| ], | |||
| ), | |||
| migrations.RemoveField( | |||
| model_name='profile', | |||
| name='user', | |||
| ), | |||
| migrations.RemoveField( | |||
| model_name='userresponse', | |||
| name='user', | |||
| ), | |||
| migrations.DeleteModel( | |||
| name='Profile', | |||
| ), | |||
| migrations.AddField( | |||
| model_name='userresponse', | |||
| name='bceid_user', | |||
| field=models.ForeignKey(default=1, to='core.BceidUser'), | |||
| preserve_default=False, | |||
| ), | |||
| ] | |||
| @ -0,0 +1,24 @@ | |||
| from rest_framework import serializers | |||
| from .models import Question, UserResponse, User | |||
| class UserResponseSerializer(serializers.ModelSerializer): | |||
| user = serializers.PrimaryKeyRelatedField(read_only=True) | |||
| question = serializers.PrimaryKeyRelatedField(read_only=True) | |||
| class Meta: | |||
| model = UserResponse | |||
| fields = ('user', 'question', 'value') | |||
| def create(self, validated_data): | |||
| response = UserResponse(**validated_data) | |||
| response.save() | |||
| return response | |||
| def update(self, instance, validated_data): | |||
| instance.value = validated_data['value'] | |||
| instance.save() | |||
| @ -0,0 +1,74 @@ | |||
| // when change triggered, collect user input data, validate data and POST via ajax | |||
| var ajaxOnChange = function () { | |||
| var el = $(this); | |||
| // show/hide additional information if needed | |||
| reveal(el); | |||
| var question = el.prop('name'); | |||
| var value = getValue(el, question, ''); | |||
| var isValid = true; | |||
| // Check if date is in valid format DD/MM/YYYY | |||
| if (el.is(".date-picker")){ | |||
| isValid = validateDatePicker(value); | |||
| } | |||
| if (el.is("#email_textbox")){ | |||
| isValid = validateEmail(value); | |||
| } | |||
| // special behaviour for radio button with textbox | |||
| radioWithTextboxControl(el); | |||
| if (isValid) { | |||
| ajaxCall(question, value); | |||
| } | |||
| else{ | |||
| console.log("Invalid input for " + el.prop('name')); | |||
| } | |||
| }; | |||
| // Get CSRFToken needed to POST using Ajax | |||
| var getCSRFToken = function () { | |||
| var name = 'csrftoken'; | |||
| var cookieValue = null; | |||
| if (document.cookie && document.cookie != '') { | |||
| var cookies = document.cookie.split(';'); | |||
| for (var i = 0; i < cookies.length; i++) { | |||
| var cookie = $.trim(cookies[i]); | |||
| // Does this cookie string begin with the name we want? | |||
| if (cookie.substring(0, name.length + 1) == (name + '=')) { | |||
| cookieValue = decodeURIComponent(cookie.substring(name.length + 1)); | |||
| break; | |||
| } | |||
| } | |||
| } | |||
| return cookieValue; | |||
| }; | |||
| // Ajax called when user update their response | |||
| var ajaxCall = function(question, value){ | |||
| // var url = $(location).attr('href'); | |||
| var url = $(location).attr('origin') + '/api/response'; | |||
| // add CSRF_TOKEN to POST | |||
| var csrf_token = getCSRFToken(); | |||
| // TODO more useful callback functions for done and fail | |||
| $.ajax(url, | |||
| { | |||
| type: 'POST', | |||
| beforeSend: function (xhr, settings) { | |||
| if ((settings.type == 'POST' || settings.type == 'PUT' || settings.type == 'DELETE') && !this.crossDomain) { | |||
| xhr.setRequestHeader("X-CSRFToken", csrf_token); | |||
| } | |||
| }, | |||
| data: {question: question, value: value} | |||
| }) | |||
| .done(function () { | |||
| console.log("Successful"); | |||
| }) | |||
| .fail(function (xhr) { | |||
| console.log(xhr); | |||
| }); | |||
| }; | |||
| @ -0,0 +1,119 @@ | |||
| // Show or Hide Information Section | |||
| // Using following data attributes: | |||
| // data-target_id: id of information section | |||
| // data-reveal_target: reveal target_id section if true | |||
| // data-related_id: id of information section which needed to be hide when target_id section is shown or vice versa | |||
| var reveal = function(el) { | |||
| var id = '#' + el.data("target_id"); | |||
| var related_id = el.data("related_id"); | |||
| if (related_id != undefined) { | |||
| related_id = '#' + related_id; | |||
| } | |||
| if (el.data("reveal_target") == true) { | |||
| $(id).show(); | |||
| if (related_id != undefined){ | |||
| $(related_id).hide(); | |||
| } | |||
| } else { | |||
| $(id).hide(); | |||
| if (related_id != undefined){ | |||
| $(related_id).show(); | |||
| } | |||
| } | |||
| }; | |||
| // Controls Checkbox behaviour for children_financial_support | |||
| // If No is checked, un-check all Yes checkboxes | |||
| // If Yes is checked, un-check No checkbox | |||
| // Once checkbox is checked, always at least one box will be checked | |||
| var childSupportCheckboxControl = function(el) { | |||
| var boxName = el.prop("name"); | |||
| // Make sure at least one box is checked | |||
| if ($(".checkbox-group").find("input[type=checkbox]:checked").length == 0){ | |||
| el.prop('checked', true); | |||
| } | |||
| else { | |||
| if (el.val() == "No") { | |||
| $("input[name=" + boxName + "]").each(function () { | |||
| if ($(this).val() != "No") { | |||
| $(this).prop('checked', false); | |||
| } | |||
| }); | |||
| } | |||
| else { | |||
| $("input[name=" + boxName + "]").each(function () { | |||
| if ($(this).val() == "No") { | |||
| $(this).prop('checked', false); | |||
| } | |||
| }); | |||
| } | |||
| } | |||
| }; | |||
| // Controls Radio button with textbox | |||
| // If user enters input on textbox beside radio button, update associated radio button response to Other | |||
| // Else, set textbox to empty and update the response | |||
| var radioWithTextboxControl = function(el){ | |||
| // If radio button has other as an option and 'Other' is not selected, update other textbox to empty | |||
| if (el.is(".radio-with-other") && el.val() != 'Other'){ | |||
| var otherTextBox = $(".other-textbox"); | |||
| otherTextBox.val(''); | |||
| ajaxCall(otherTextBox.prop('name'), ''); | |||
| } | |||
| // Set focus to textbox for user convenience | |||
| else if (el.is(".radio-with-other") && el.val() == 'Other'){ | |||
| $(".other-textbox").focus(); | |||
| } | |||
| // when textbox is clicked, update associated radio button response with its value | |||
| else if (el.is(".other-textbox")){ | |||
| var radioTextbox = $("#radio_with_textbox"); | |||
| ajaxCall(radioTextbox.prop('name'), radioTextbox.val()); | |||
| } | |||
| }; | |||
| // Get value from various input fields | |||
| // If input is checkbox, get all checked items' value and separate them by ; | |||
| var getValue = function(el, question, value){ | |||
| // if checkbox, get list of values. | |||
| if (el.is("input[type=checkbox]")){ | |||
| // special behaviour for question children_financial_support | |||
| if (question == "children_financial_support"){ | |||
| childSupportCheckboxControl(el); | |||
| } | |||
| $(".checkbox-group").find("input[type=checkbox]:checked").each(function(){ | |||
| value += $(this).val() + '; '; | |||
| }); | |||
| // to remove last space and semi-colon | |||
| return value.slice(0, -2); | |||
| } | |||
| else{ | |||
| return el.val(); | |||
| } | |||
| }; | |||
| // check if value in date field is in DD/MM/YYYY format | |||
| // and check if it is valid date and it is today or earlier | |||
| var validateDatePicker = function(value){ | |||
| var isValid = false; | |||
| var regex = '[0-9]{2}[/][0-9]{2}[/][0-9]{4}'; | |||
| if (value.match(regex)){ | |||
| value = value.split('/'); | |||
| var d = parseInt(value[0], 10); | |||
| var m = parseInt(value[1], 10); | |||
| var y = parseInt(value[2], 10); | |||
| var today = new Date(); | |||
| var date = new Date(y,m-1,d); | |||
| if (date.getFullYear() == y && date.getMonth() + 1 == m && date.getDate() == d && date <= today) { | |||
| isValid = true; | |||
| } | |||
| } | |||
| return isValid; | |||
| }; | |||
| // check if email is in valid format | |||
| var validateEmail = function(value){ | |||
| var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/; | |||
| return regex.test(value); | |||
| }; | |||
| @ -0,0 +1,38 @@ | |||
| // Reveal sections as the form is loading | |||
| $('input:radio, input:checkbox').each(function() { | |||
| if($(this).is(':checked')) { | |||
| reveal($(this)); | |||
| // apply css class to big round buttons | |||
| if ($(this).parent().hasClass('btn-radio')) { | |||
| $(this).parent().addClass('active'); | |||
| } | |||
| } | |||
| }); | |||
| $(function () { | |||
| $('[data-toggle="tooltip"]').tooltip(); | |||
| // when user click textbox beside radio button, check the associated radio button | |||
| $(".other-textbox").on("click", function(){ | |||
| $("#radio_with_textbox").prop('checked', true); | |||
| }); | |||
| $("input[type=radio], input[type=checkbox], input[type=text], .response-textarea, .response-dropdown").on("change", ajaxOnChange); | |||
| // On step_03.html, update text when user enters separation date | |||
| $("#separated_date").on("change", function(){ | |||
| $("#separation_date_span").text(" on " + $(this).val()); | |||
| }); | |||
| }); | |||
| // Expand More Information boxes | |||
| // TODO this is fragile and really just a place holder until the sidebar is revised | |||
| $( "#more_information" ).click(function() { | |||
| if($(this).hasClass("active")) { | |||
| $(this).removeClass("col-md-4 active"); | |||
| $(".container-wrapper .col-md-8").addClass("col-md-offset-2"); | |||
| } else { | |||
| $(this).addClass("col-md-4 active"); | |||
| $(".container-wrapper .col-md-8").removeClass("col-md-offset-2"); | |||
| } | |||
| }); | |||
| @ -0,0 +1,5 @@ | |||
| (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); | |||
| a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x<style>article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}</style>"; | |||
| c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="<xyz></xyz>";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| | |||
| "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment(); | |||
| for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d<h;d++)c.createElement(e[d]);return c}};l.html5=e;q(f)})(this,document); | |||
| @ -0,0 +1,14 @@ | |||
| {% if questions %} | |||
| <table border="1"> | |||
| <tr> | |||
| <th>Questions</th> | |||
| <th>User response</th> | |||
| </tr> | |||
| {% for question in questions %} | |||
| <tr> | |||
| <td width="75%" style="padding-right: 5%">{{question.question.name}}</td> | |||
| <td width="25%">{{question.value}}</td> | |||
| </tr> | |||
| {% endfor %} | |||
| </table> | |||
| {% endif %} | |||
| @ -0,0 +1,87 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Other Orders{% 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 have a separation agreement | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Separation agreement</b><br /><br />A document that sets out how you and your spouse have agreed | |||
| to deal with thing like parenting support and property after you separate (Provincial family law calls it an agreement). | |||
| There's no official form to use for drafting up a separation agreement." aria-hidden="true"></i> | |||
| or a court order | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Court Orders Definition</b><br /><br />A record of a decision made by a judge or master that tells you | |||
| or your spouse what you must do (or not do). For example: The court has made an order that | |||
| your spouse must pay you $250 on a monthly basis to help pay off your combined debt." aria-hidden="true"></i> | |||
| that sets out what you've agreed to or what the court has already ordered about parenting, child and spousal support, and/or property?</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="agreement" value="YES" autocomplete="off" data_target_id="have_order" data_reveal_target="true" data_related_id="no_order" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="agreement" value="NO" autocomplete="off" data_target_id="have_order" data_reveal_target="false" data_related_id="no_order" %} No | |||
| </label> | |||
| </div> | |||
| <div class="information-message" id="have_order" hidden> | |||
| <p>Refer to that separation agreement or court order when filling out the documents for divorce. You'll also need to attach a copy to the documents you file with the court.</p> | |||
| <p>The parts of the agreement that deal with parenting and support can be enforced as if they were in a court order.</p> | |||
| <p>More information on <a href="http://www.familylaw.lss.bc.ca/guides/mini/fileAgreementSC.php">how to flle your agreement</a> can be found on the Legal Services Society web site.</p> | |||
| </div> | |||
| <div id="no_order" hidden> | |||
| <p> | |||
| When you divorce or separate from your spouse or common-law partner, there are many issues you may need work out. These include: | |||
| </p> | |||
| <ul> | |||
| <li>How will you take care of the children?</li> | |||
| <li>How will you divide property and debt?</li> | |||
| <li>Will one of you pay child support?</li> | |||
| <li>Will one of you pay spousal support?</li> | |||
| </ul> | |||
| <p> | |||
| If you and your spouse can work together to reach a fair agreement, it's important that you have it written down and that both of you sign it. | |||
| </p> | |||
| <p>More information on <a href="http://www.familylaw.lss.bc.ca/guides/mini/fileAgreementSC.php">how to flle your agreement</a> can be found on the Legal Services Society web site.</p> | |||
| </div> | |||
| <form action="{% url 'form_steps' 'f1' '01_orders' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <div> | |||
| <p> | |||
| If you need to get a separation agreement, contact a family justice counsellor, mediator, or family law lawyer | |||
| for help. | |||
| </p> | |||
| <p> | |||
| The Legal Services Society web site has a number of resources to help you to find out how to draft your own | |||
| agreement: | |||
| </p> | |||
| <ul> | |||
| <li><a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/makingAnAgmtAfterYouSeparate.php">Making an | |||
| agreement after you separate</a></li> | |||
| <li><a href="ttp://www.familylaw.lss.bc.ca/resources/fact_sheets/whoCanHelpYouReachAnAgmt.php">Who can help you | |||
| reach an agreement?</a></li> | |||
| <li><a href="http://www.familylaw.lss.bc.ca/guides/separation/index.php">Self-help guide How to write your own | |||
| separation agreement</a></li> | |||
| </ul> | |||
| <p> | |||
| A <a href="http://www.justiceeducation.ca/sites/default/files/worksheets/Separation%20Agreement%20Worksheet.pdf"> | |||
| separation agreement workshop</a> is also available on the Justice Education Society web site. | |||
| </p> | |||
| <p>A separation agreement is only required to be filed or disclosed in a joint divorce action if you have children, | |||
| in which case it is attached as an exhibit to the Child Support Affidavit. In a sole proceeding, you must | |||
| disclose this information right in Form F3.</p> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,144 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% 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"> | |||
| <h1>Step 1: What are you asking for?</h1> | |||
| <h3>What are you asking for (Orders) | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Orders Definition</b><br /><br />A record of a decision made by a judge or master | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Master Definition</b><br /><br />A judicial officer of the Supreme Court who can hear and decide certain applications, including interim applications for parenting or support orders." aria-hidden="true"></i> | |||
| that tells you or your spouse what you must do (or not do). For example: The court has made an order that your spouse must pay you $250 on a monthly basis to help pay off your combined debt." aria-hidden="true"></i>?</h3> | |||
| <p><em>With an undefended divorce (aka desk order), you do not need to appear in court. However a judge needs to review and approve what you are asking for. Orders allow you to tell the court what you want (for example parenting support and property division).</em></p> | |||
| <p><em>Please select what you are asking for. Later on you will be asked to provide details for each request.</em></p> | |||
| <div class="checkbox-group"> | |||
| <div class="radio"> | |||
| <label> | |||
| {% input_option type="checkbox" name="want_which_orders" value="A legal end to the marriage" %}<b>A legal end to the marriage</b> | |||
| </label> | |||
| <p> | |||
| Divorce is the end of a legal marriage. To get a divorce, you must go through a legal process and get a court order that says the marriage has ended. | |||
| </p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_common_law" aria-controls="collapse_common_law"> | |||
| <div> | |||
| Are you in a common law relationship (legally know as a "marriage like relationship"? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_common_law"> | |||
| <div> | |||
| <p>A divorce is a court order, made under the Divorce Act, that ends a marriage. Only married spouses need to get a divorce to end their relationship; unmarried spouses and other unmarried couples do not need to divorce. Their relationships are over when they separate. | |||
| <a href="http://www.cbabc.org/For-the-Public/Dial-A-Law/Scripts/Family-Law/120">http://www.cbabc.org/For-the-Public/Dial-A-Law/Scripts/Family-Law/120</a> | |||
| </p> | |||
| <p> | |||
| So you do not need to ask for a legal end to the marriage (Divorce order). However, if you would like spousal support or property and debt issues addressed, you will need to ask for these orders. | |||
| </p> | |||
| <p> | |||
| Note that there are important time limits if you want to apply for spousal support and/or divide property, debt, or a pension. | |||
| </p> | |||
| <p> | |||
| If you were married, you must apply to divide property within two years after you get an order for divorce. | |||
| If you were living in a marriage-like relationship for at least two years, you must apply within two years of the date you separated. | |||
| </p> | |||
| <p> | |||
| For more information refer to the | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/spousal_support.php">Spousal Support</a> and | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/dividePropertyAndDebts.php">How to Divide Property and Debt</a> fact sheets on the Legal Services Society web site. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="radio"><label>{% input_option type="checkbox" name="want_which_orders" value="Spousal support" data_target_id="spouse_support_alert" data_reveal_target="true" %}<b>Spousal support</b></label> | |||
| <p><em>Payments to support you, not the children.</em></p> | |||
| <p><em>For more information, please see the fact sheet Spousal Support | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>spousal support</b><br /><br />When a couple separates, one spouse may be eligible to | |||
| receive financial support from the other. This is called spousal support. Spousal support is separate | |||
| and distinct from child support. Unlike child support, spousal support is not a right in every case. | |||
| You are entitled to spousal support in certain situations." aria-hidden="true"></i> | |||
| by the Legal Services Society. | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/spousal_support.php">http://www.familylaw.lss.bc.ca/resources/fact_sheets/spousal_support.php</a></em></p> | |||
| <div class="information-message bg-danger" id="spouse_support_alert" hidden> | |||
| <p>If you and your spouse have already agreed on spousal support (which could be in the form of a separation agreement | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Separation agreement</b><br /><br /><p>A document that sets out how you and your spouse have agreed to deal with thing matters | |||
| like parenting support and property after you separate (Provincial family law calls it an agreement). | |||
| There's no official form to use for drafting up a separation agreement.</p>" aria-hidden="true"></i> | |||
| ) then you do not need to ask for an Order for Spousal Support. However if you want the spousal support agreement to be enforceable (legally binding) you will need to select this option.</p> | |||
| <h2>Time limit to apply for court order </h2> | |||
| <p>If you were married, you must apply for spousal support under the | |||
| <a href="http://www2.gov.bc.ca/gov/content/life-events/divorce/family-justice/family-law/spousal-support">Family Law Act</a> | |||
| within two years after you get an order for divorce. If you are applying for spousal support under the Divorce Act, you do not have a time limit.</p> | |||
| <p>If you were unmarried, and you qualify for spousal support, you must apply within two years of the date you separated.</p> | |||
| </div> | |||
| </div> | |||
| <div class="radio"><label>{% input_option type="checkbox" name="want_which_orders" value="Division of property and debts" data_target_id="property_division_alert" data_reveal_target="true" %}<b>Division of property and debts</b></label> | |||
| <p><em>Anything you own including real estate, bank accounts, cars and RRSPs.</em></p> | |||
| <p><em>For more information, please refer to the following fact sheets on the Legal Services Society website:</em></p> | |||
| <ul> | |||
| <li><a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/dividePropertyAndDebts.php">How to Divide Property and Debts</a></li> | |||
| <li><a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/debtsAfterSeparation.php">Dealing with Debts After Separation</a></li> | |||
| </ul> | |||
| <div class="information-message bg-danger" id="property_division_alert" hidden> | |||
| <h2>Time limit to apply for court order </h2> | |||
| <p>If you were <b>married</b>, you must apply to divide property within two years after you get an order for divorce.</p> | |||
| <p>If you were living in a <b>marriage-like relationship</b> for at least two years, you must apply within two years of the date you separated.</p> | |||
| <div style="border:solid"> | |||
| <h2>(Dev note: Display this alert message if the user has indicated that they have lived in a marriage like relationship)</h2> | |||
| <p>In order to be considered a spouse for the purpose of dividing property or debt you must have lived together in a marriage-like relationship for at least two years.</p> | |||
| </div> | |||
| <p><em>For more information, please refer to the following fact sheets on the Legal Services Society website:</em></p> | |||
| <ul> | |||
| <li><a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/dividePropertyAndDebts.php">How to Divide Property and Debts</a></li> | |||
| <li><a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/debtsAfterSeparation.php">Dealing with Debts After Separation</a></li> | |||
| </ul> | |||
| </div> | |||
| </div> | |||
| <div class="radio"><label>{% input_option type="checkbox" name="want_which_orders" value="Other orders" %}<b>Other orders</b></label> | |||
| <p><em>For example, a name change.</em></p> | |||
| </div> | |||
| <div class="radio"><label>{% input_option type="checkbox" name="want_which_orders" value="Child support" data_target_id="child_support_alert" data_reveal_target="true" %}<b>Child support (Out of scope)</b></label> | |||
| <div class="information-message bg-danger" id="child_support_alert" hidden> | |||
| <p>We've noticed that at this point in time you are not applying for spousal support and/or division of property, debt, or a pension. If you decide to request these items in the future there are some time limits.</p> | |||
| <h2>Division of Property and Debts</h2> | |||
| <p>If you were married, you must apply to divide property within two years after you get an order for divorce. If you were living in a marriage-like relationship for at least two years, you must apply within two years of the date you separated.</p> | |||
| <h2>Spousal Support</h2> | |||
| <p>If you were married, you must apply for spousal support under the Family Law Act within two years after you get an order for divorce. If you are applying for spousal support under the Divorce Act, you do not have a time limit.</p> | |||
| <p>If you were unmarried, and you qualify for spousal support, you must apply within two years of the date you separated.</p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '00_intro' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '02_claimant' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <h2>Marriage Certificates</h2> | |||
| <p>An order is the record of the judge's decision. It is filed at the court registry. The parties involved in a case (or their lawyers) are responsible for writing out the order. | |||
| The judge or master who heard your case doesn't write the order. The court clerk doesn't write the order. (But in Provincial Court, court clerks do write out orders for unrepresented parties)..</p> | |||
| <p>More information on <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/allAboutCourtOrders.php">Court Orders</a> can be found on the Legal Services Society web site.</p> | |||
| <p>The Notice of Joint Family Claim has five schedules (or sections). You only have to fill out the schedules that relate to the order you're asking for.</p> | |||
| <p><a href="http://www.familylaw.lss.bc.ca/guides/divorce/divJoint_step2.php">(insert table from LSS web site)</a></p> | |||
| {% endblock %} | |||
| @ -0,0 +1,170 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Your Information{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 2. Your Information</h1> | |||
| <h2>Your Information</h2> | |||
| <div> | |||
| <h3>Please enter your name as it appears on the marriage certificate</h3> | |||
| {% input_option type="text" name="name_you" class="response-textbox" %} | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_changed_name" aria-controls="collapse_changed_name"> | |||
| <div> | |||
| Have you changed your legal name since getting married? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_changed_name"> | |||
| <div> | |||
| <p>If either of you has had a legal name change since you were married, put that new name on your form, | |||
| and bring along a copy of the change of name certificate when you file your documents.</p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_maiden_name" aria-controls="collapse_maiden_name"> | |||
| <div> | |||
| Should I use my maiden name or married name? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_maiden_name"> | |||
| <div> | |||
| <p>For the Notice of Family Claim (Form 1) you need to enter your name as it appears on the marriage certificate. </p> | |||
| <p>When you got married, your name didn't automatically change. You're allowed to use your spouse's surname, but a formal name change wasn't necessary.</p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>Do you go by any other names?</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="any_other_name_you" autocomplete="off" value="YES" data_target_id="enter_name" data_reveal_target="true" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="any_other_name_you" autocomplete="off" value="NO" data_target_id="enter_name" data_reveal_target="false" %} No | |||
| </label> | |||
| </div> | |||
| <p>This could be an abbreviaton of your legal name, a maiden name, or any alias's you use for business or legal matters.</p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_other_name" aria-controls="collapse_other_name"> | |||
| <div> | |||
| Why do I need to provide other names that I go by? How will you be using this information? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_other_name"> | |||
| <div> | |||
| <p>The name(s) that you provide will appear on the final court order(s) | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Court Orders Definition</b><br /><br />A record of a decision made by a judge or master that | |||
| tells you or your spouse what you must do (or not do). For example: The court has made an order that | |||
| your spouse must pay you $250 on a monthly basis to help pay off your combined debt" aria-hidden="true"></i> | |||
| . Any names you provide will be used on | |||
| the final court order for the purposes of executing or following up on the orders. For example, | |||
| if you and your spouse will be dividing property, land titles will likely want to see the name in | |||
| the court order match what is on the title. This wold also apply to pensions, RRSPs, etc. | |||
| The order for divorce is also used to create linkages between names.</p> | |||
| <p>You may want to take a look at the names that you have used on any legal and business agreements/contracts | |||
| to ensure you are providing the courts with all variations of your name.</p> | |||
| </div> | |||
| </div> | |||
| <div id="enter_name" hidden> | |||
| <h3>Please enter the name</h3> | |||
| {% input_option type="text" name="other_name_you" class="response-textbox" %} | |||
| <input type="button" value="Add name"/> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>What was your last name when you were born?</h3> | |||
| {% input_option type="text" name="last_name_born_you" class="response-textbox" %} | |||
| <p>This is often referred to as Family name or Surname</p> | |||
| </div> | |||
| <div> | |||
| <h3>What was your last name before you were married?</h3> | |||
| {% input_option type="text" name="last_name_before_married_you" class="response-textbox" %} | |||
| <p>This is often referred to as Family name or Surname</p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <div> | |||
| <h3>When is your birthday?</h3> | |||
| <p>{% input_option type="text" name="birthday_you" class="date-picker" id="birth_date" placeholder="DD/MM/YYYY" %} <i class="fa fa-calendar circle" aria-hidden="true"></i></p> | |||
| </div> | |||
| <div> | |||
| <h3>How long have you lived in British Columbia?</h3> | |||
| <p>Please select one</p> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="lived_in_bc_you" value="Since birth" %}Since birth</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" id="radio_with_textbox" name="lived_in_bc_you" value="Moved to British Columbia on" %}Moved to British Columbia on {% input_option type="text" name="moved_to_bc_date_you" id="moved_date" class="date-picker other-textbox" placeholder="DD/MM/YYYY" %} <i class="fa fa-calendar circle" aria-hidden="true"></i></label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="lived_in_bc_you" value="Do not live in British Columbia" %}Do not live in British Columbia</label></div> | |||
| <p>In order to apply for a divorce in British Columbia, you or your spouse must have been a regular resident in B.C (the legal term is ordinarily resident | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Ordinarily resident</b><br /><br />Unfortunately there is no clear cut definition for the term "ordinarily resident."<br/><br/> | |||
| "ordinary residence" is not a phrase capable of precise definition. At its simplest level, ordinary residence connotes | |||
| something more than mere temporary presence in a place. It refers to the place in which a person's lifestyle is centered | |||
| and to which the person regularly returns if his or her presence is not continuous.<br/><br/> | |||
| Ordinarily Resident<ul><li>the place where a person resides in the ordinary course of his or her day to day</li> | |||
| <li>you do not lose your ordinary resident in a place when you leave for a temporary purpose (e.g. go to school in | |||
| another province)</li></ul><br/>Not an Ordinarily Resident<ul><li>If you have travelled to another place to live and work indefinitely | |||
| (even thought you ultimately intends to return to the prior home)</li></ul>" aria-hidden="true"></i> | |||
| ) for at least one year immediately before starting the proceeding. | |||
| </p> | |||
| </div> | |||
| <div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapseExample" aria-controls="collapseExample"> | |||
| <div> | |||
| Can't remember exact date? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapseExample"> | |||
| <div> | |||
| <p>If you cannot remember the exact date you moved to B.C, select:</p> | |||
| <ul> | |||
| <li>the month you moved to B.C.</li> | |||
| <li>the last day of that month</li> | |||
| <li>year</li> | |||
| </ul> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '01_orders' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '03_respondent' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <p>The Meaning of "Ordinary Residence" and "Habitual Residence" in the Common Law Provinces in a Family Law Context: <a href="http://www.justice.gc.ca/eng/rp-pr/fl-lf/divorce/rhro_cl/p4.html">http://www.justice.gc.ca/eng/rp-pr/fl-lf/divorce/rhro_cl/p4.html</a></p> | |||
| {% endblock %} | |||
| @ -0,0 +1,170 @@ | |||
| {% extends 'base.html' %}{% load input_option %} | |||
| {% block title %}{{ block.super }}: Your Spouse{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 3. Your Spouse</h1> | |||
| <h2>Your Spouse's Information</h2> | |||
| <div> | |||
| <h3>Please enter your spouse's name as it appears on the marriage certificate</h3> | |||
| {% input_option type="text" name="name_spouse" class="response-textbox" %} | |||
| <p>This is also know as surname or family name.</p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" | |||
| data-target="#collapse_legal_name" aria-controls="collapse_legal_name"> | |||
| <div> | |||
| Has your spouse changed their legal name since getting married? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_legal_name"> | |||
| <div> | |||
| <p>If either of you has had a legal name change since you were married, put that new name on | |||
| your form, | |||
| and bring along a copy of the change of name certificate when you file your documents.</p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_maiden_name" aria-controls="collapse_maiden_name"> | |||
| <div> | |||
| Should I use their maiden name or married name? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_maiden_name"> | |||
| <div> | |||
| <p>For the Notice of Family Claim (Form 1) you need to enter your spouse's name as it appears on the | |||
| marriage certificate. </p> | |||
| <p>When you got married, their name didn't automatically change. They're allowed to use your | |||
| spouse's surname, but a formal name change wasn't necessary.</p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>Does your spouse go by any other names?</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="any_other_name_spouse" autocomplete="off" value="YES" data_target_id="enter_name" data_reveal_target="true" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="any_other_name_spouse" autocomplete="off" value="NO" data_target_id="enter_name" data_reveal_target="false" %} No | |||
| </label> | |||
| </div> | |||
| <p>This could be an abbreviaton of your legal name, a maiden name, or any alias's they use for business | |||
| or legal matters.</p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_other_name" aria-controls="collapse_other_name"> | |||
| <div> | |||
| Why do I need to provide other names that I go by? How will you be using this | |||
| information? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_other_name"> | |||
| <div> | |||
| <p>The name(s) that you provide will appear on the final court order (s). Any names you provide will be | |||
| used on the final court order for the purposes of executing or following up on the orders. For example, | |||
| if you and your spouse will be dividing property, land titles will likely want to see the name in | |||
| the court order match what is on the title. This wold also apply to pensions, RRSPs, etc. | |||
| The order for divorce is also used to create linkages between names.</p> | |||
| <p>You may want to take a look at the names that you have used on any legal and business | |||
| agreements/contracts to ensure you are providing the courts with all variations of your name.</p> | |||
| </div> | |||
| </div> | |||
| <div id="enter_name" hidden> | |||
| <h3>Please enter the name</h3> | |||
| {% input_option type="text" name="other_name_spouse" class="response-textbox" %} | |||
| <input type="button" value="Add name"/> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>What was their last name when they were born?</h3> | |||
| {% input_option type="text" name="last_name_born_spouse" class="response-textbox" %} | |||
| <p>This is often referred to as Family name or Surname</p> | |||
| </div> | |||
| <div> | |||
| <h3>What was their last name before you were married?</h3> | |||
| {% input_option type="text" name="last_name_before_married_spouse" class="response-textbox" %} | |||
| <p>This is often referred to as Family name or Surname</p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <div> | |||
| <h3>When is your spouse's birthday?</h3> | |||
| <p>{% input_option type="text" name="birthday_spouse" class="date-picker" id="birth_date" placeholder="DD/MM/YYYY" %} <i class="fa fa-calendar circle" aria-hidden="true"></i></p> | |||
| </div> | |||
| <div> | |||
| <h3>How long has your spouse lived in British Columbia?</h3> | |||
| <p>Please select one</p> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="lived_in_bc_spouse" value="Since birth" %}Since birth</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" id="radio_with_textbox" name="lived_in_bc_spouse" value="Moved to British Columbia on" %}Moved to British Columbia on {% input_option type="text" name="moved_to_bc_date_spouse" id="moved_date" class="date-picker other-textbox" placeholder="DD/MM/YYYY" %} <i class="fa fa-calendar circle" aria-hidden="true"></i></label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="lived_in_bc_spouse" value="Do not live in British Columbia" %}Do not live in British Columbia</label></div> | |||
| <p>In order to apply for a divorce in British Columbia, you or your spouse must have been a regular resident in B.C (the legal term is ordinarily resident | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Ordinarily resident</b><br /><br />Unfortunately there is no clear cut definition for the term "ordinarily resident."<br/><br/> | |||
| "ordinary residence" is not a phrase capable of precise definition. At its simplest level, ordinary residence connotes | |||
| something more than mere temporary presence in a place. It refers to the place in which a person's lifestyle is centered | |||
| and to which the person regularly returns if his or her presence is not continuous.<br/><br/> | |||
| Ordinarily Resident<ul><li>the place where a person resides in the ordinary course of his or her day to day</li> | |||
| <li>you do not lose your ordinary resident in a place when you leave for a temporary purpose (e.g. go to school in | |||
| another province)</li></ul><br/>Not an Ordinarily Resident<ul><li>If you have travelled to another place to live and work indefinitely | |||
| (even thought you ultimately intends to return to the prior home)</li></ul>" aria-hidden="true"></i> | |||
| ) for at least one year immediately before starting the proceeding. | |||
| </p> | |||
| </div> | |||
| <div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapseExample" aria-controls="collapseExample"> | |||
| <div> | |||
| Can't remember exact date? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapseExample"> | |||
| <div> | |||
| <p>If you cannot remember the exact date you moved to B.C, select:</p> | |||
| <ul> | |||
| <li>the month you moved to B.C.</li> | |||
| <li>the last day of that month</li> | |||
| <li>year</li> | |||
| </ul> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '02_claimant' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '04_marriage' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebar %}{% endblock %} | |||
| @ -0,0 +1,128 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Your Marriage{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 4: Your Marriage</h1> | |||
| <p>It is very important that you enter the information below as it appears on your official marriage | |||
| certificate | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Original Marriage Certificate</b><br /><br />The marriage certificate you received at the church — | |||
| or any other place where you were married — isn't acceptable in court. You can get a marriage certificate | |||
| or a certified copy of the registration of marriage from | |||
| <a href="http://www2.gov.B.C..ca/gov/content/life-events/marriages/marriage-certificates">Vital Statistics</a> | |||
| (an office run by the provincial government)." aria-hidden="true"></i> | |||
| or registration of marriage | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Registration Marriage Certificate</b><br /><br />The Registration of Marriage is the document issued by | |||
| Vital Statistics (an office run by the provincial government) along with the Marriage License. This document | |||
| would have been signed by you and your spouse, the person who married you (the officiant) and your wedding ceremony witnesses. | |||
| Within 48 hours of the wedding, the officiant would have submitted the registration to the Vital Statistics Agency | |||
| where the registration information becomes a permanent legal record. Vital Statistics cannot issue a marriage certificate | |||
| until the marriage is registered. <br/><br/> For more information, please refer to the | |||
| <a href="http://www2.gov.B.C..ca/gov/content/life-events/marriages/marriage-registration/certified-copies-and-certified-electronic-extracts-of-a-marriage-registration">Marriage Registration page</a> | |||
| on the B.C. Government web site." aria-hidden="true"></i>. Not doing this can result in delays and | |||
| your divorce request being returned for correction.</p> | |||
| <div id="when_married"> | |||
| <h3>When were you married?</h3> | |||
| <p>{% input_option type="text" name="when_were_you_married" class="date-picker" id="marriage_date" placeholder="DD/MM/YYYY" %} <i class="fa fa-calendar circle" aria-hidden="true"></i></p> | |||
| </div> | |||
| <div id="lived_together"> | |||
| <h3>When did you and {% if name_spouse %} {{ name_spouse }} {% else %} your spouse {% endif %} begin to live together in a marriage-like relationship?</h3> | |||
| <p>{% input_option type="text" name="when_were_you_live_married_like" class="date-picker" id="lived_start_date" placeholder="DD/MM/YYYY" %} <i class="fa fa-calendar circle" aria-hidden="true"></i></p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_start_date" aria-controls="collapse_start_date"> | |||
| <div> | |||
| How do I determine the start date? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_start_date"> | |||
| <div> | |||
| <p> | |||
| Under the law, the start date of a spousal relationship is the day two individuals begin living together in | |||
| a marriage-like relationship, or the day they were married, whichever is first. The start date of | |||
| a spousal relationship determines when rights or responsibilities start under the Family Law Act, | |||
| particularly respecting property division. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_exact_start_date" aria-controls="collapse_exact_start_date"> | |||
| <div> | |||
| What do I do if I can't remember the exact date? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_exact_start_date"> | |||
| <div> | |||
| <p>If you cannot remember the exact date you sepearated then enter:</p> | |||
| <ul> | |||
| <li>- the last day of that month in which you decided to separate from your spouse, and;</li> | |||
| <li>- year</li> | |||
| </ul> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>Where were you married?</h3> | |||
| <p>Enter the location as it appears on the marriage certificate (e.g. city, province or state and country)</p> | |||
| <p>City</p> | |||
| {% input_option type="text" name="where_were_you_married_city" class="response-textbox" %} | |||
| <p>Prov/State</p> | |||
| {% input_option type="text" name="where_were_you_married_prov" class="response-textbox" %} | |||
| <p>Country</p> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="where_were_you_married_country" value="Canada" %}Canada</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="where_were_you_married_country" value="USA" %}USA</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" id="radio_with_textbox" name="where_were_you_married_country" value="Other" %}Other {% input_option type="text" name="where_were_you_married_other_country" class="response-textbox other-textbox" %}</label></div> | |||
| </div> | |||
| <div> | |||
| <h3>Before you got married to your spouse, what was your marital status?</h3> | |||
| <div class="radio"><label>{% input_option type="radio" name="marital_status_before_you" value="Never married" %}Never married</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="marital_status_before_you" value="Divorced" %}Divorced</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="marital_status_before_you" value="Widowed" %}Widowed</label></div> | |||
| </div> | |||
| <div> | |||
| <h3>What was the marital status of your spouse before your marriage?</h3> | |||
| <div class="radio"><label>{% input_option type="radio" name="marital_status_before_spouse" value="Never married" %}Never married</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="marital_status_before_spouse" value="Divorced" %}Divorced</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="marital_status_before_spouse" value="Widowed" %}Widowed</label></div> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '03_respondent' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '05_reason' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <div> | |||
| <h2>The Laws about People in Relationships</h2> | |||
| <p>The two laws in B.C. that you may need to know about are the provincial Family Law Act and the federal Divorce act. The Family Law Act applies to all married and unmarried spouses. The Divorce Act only applies to married spouses.</p> | |||
| </div> | |||
| <div> | |||
| <p>When two people who have been living together in a marriage, or a marriage-like relationship (sometimes called a common-law relationship), decide not to live together any more, they are separated.</p> | |||
| <p>There is no such thing as a "legal" separation. If you are living apart, you are separated.</p> | |||
| <p>It is possible to be separated and still living in the same home where a clear intention of a permanent separation has been communicated and acted upon.</p> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,112 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Reason For Divorce{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 5: Your Separation</h1> | |||
| <div> | |||
| <h3>Did you and your spouse try and reconcile after you separated?</h3> | |||
| <p><em>Please select one</em></p> | |||
| <div class="radio"><label>{% input_option type="radio" name="try_reconcile_after_separated" %} | |||
| No, {% if name_spouse %} {{ name_spouse }} {% else %} my spouse {% endif %} and I have not reconciled (gotten back together)</label> | |||
| </div> | |||
| <div class="radio"><label>{% input_option type="radio" name="try_reconcile_after_separated" %} | |||
| Yes, {% if name_spouse %} {{ name_spouse }} {% else %} my spouse {% endif %} and I lived together again during the following period(s) in an unsuccessful attempt to reconcile</label> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <div> | |||
| <p> | |||
| For this next question, we need to confirm that there is no chance you and your spouse will be getting back together. | |||
| By selecting "I agree" this shows the court that you and your spouse have thoroughly thought out your request for divorce. | |||
| </p> | |||
| <h3>There is no possibility my spouse and I will get back together (reconciliation).</h3> | |||
| <div class="radio"><label>{% input_option type="radio" name="no_reconciliation_possible" value="agree" %}I agree</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="no_reconciliation_possible" value="disagree" %}I disagree</label></div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <div> | |||
| <p><em>Ok, this next questions uses some legal terminology so we'll help you understand what is being asked.</em></p> | |||
| <p><em>We’re legally required to ask that you confirm that you and (!!insert spouse name) haven’t lied or | |||
| tried to deceive the court in any way. This is called “collusion”. An example of collusion is both | |||
| of you saying that you’ve been separated for longer than you actually have been.</em></p> | |||
| <p><em>Please confirm that there’s been no collusion in this claim for divorce. The court can refuse to | |||
| grant a divorce if you and your spouse have not been honest (collusion) about your marriage and | |||
| separation details.</em></p> | |||
| </div> | |||
| <div> | |||
| <h3>There has been no collusion | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>COURT REGISTRY</b><br /><br />A central office (for the B.C. Supreme Court) at which | |||
| the court files for each court proceeding in that district are maintained, and at which legal documents, | |||
| can be filed, searched for and reviewed" aria-hidden="true"></i>, | |||
| as defined in section 11(4) of the Divorce Act (Canada), in relation to this claim for divorce.</h3> | |||
| <div class="radio"><label>{% input_option type="radio" name="no_collusion" value="agree" %}I agree</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="no_collusion" value="disagree" %}I disagree</label></div> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '04_marriage' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '06_support' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <div> | |||
| <p>Most divorces use the one-year separation ground. But you can also apply for a divorce earlier on the basis of adultery or physical or mental cruelty. If you ask for a divorce for one of these reasons, you have to present evidence to the court to prove the facts of the adultery or physical or mental cruelty.</p> | |||
| <p>If you're asking for a divorce and you expect it to be uncontested (you and your spouse both agree with the divorce), you must have earlier court orders or an agreement settling all your issues. A judge won't order a divorce unless he or she is satisfied that reasonable arrangements have been made for the support of the children.</p> | |||
| </div> | |||
| <div> | |||
| <h2>How can you prove you're separated if you and your spouse still live together?</h2> | |||
| <p>You and your spouse might have decided to end your relationship, but for financial or other reasons, you can't live separately. You might have to prove to a court that you and your spouse have actually separated so that you can get a divorce and/or divide up the assets you have as a couple.</p> | |||
| <p>A list of activities and behaviours that the courts consider to be indicators of a couple being separated can be found on the | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/howToProveYouAreSeparatedIfYouStillLiveTogether.php">Legal Services Society web site.</a></p> | |||
| </div> | |||
| <div> | |||
| <p>You can also get a divorce if:</p> | |||
| <ul> | |||
| <li>- you or your spouse has committed adultery (been unfaithful) that hasn't been forgiven, or</li> | |||
| <li>- your spouse treated you with physical or mental cruelty that you haven't forgiven, which makes it impossible for you to continue to live together.</li> | |||
| </ul> | |||
| <p>To get a divorce for these reasons you have to prove these things in court.</p> | |||
| <p> | |||
| The majority of divorces are uncontested or undefended divorces (about 80 percent). That means that the divorcing couple have settled on how they're going to settle their parenting, support, and property issues. But they still need a court order for the divorce. | |||
| </p> | |||
| </div> | |||
| <div> | |||
| <a href="http://bcfamilylawresource.blogspot.ca/2010/12/ins-and-outs-of-separation-part-iv.html">http://bcfamilylawresource.blogspot.ca/2010/12/ins-and-outs-of-separation-part-iv.html</a> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,167 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Declarations{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 6. Spousal Support</h1> | |||
| <div> | |||
| <h3>You and your spouse are asking for an order for spousal support as follows:</h3> | |||
| {% input_option type="textarea" name="spouse_support_details" rows="8" cols="65" class="response-textarea" %} | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_support_amount" aria-controls="collapse_support_amount"> | |||
| <div> | |||
| How do I figure out the amount of support? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_support_amount"> | |||
| <div> | |||
| <p>The amount and duration of spousal support is determined after considering the circumstances of each spouse, including:</p> | |||
| <ul> | |||
| <li>- Your financial situation and the financial situation of your former spouse</li> | |||
| <li>- How long your relationship lasted</li> | |||
| <li>- The roles and functions of each spouse during the relationship, and</li> | |||
| <li>- What the person who is asking for spousal support needs in order to become self-sufficient, such as extra training or education.</li> | |||
| </ul> | |||
| <p> | |||
| <a href="MySupportCalculator.ca">MySupportCalculator.ca</a> is a website with a support calculator which can give you a rough estimate of spousal support." The guidelines and calculations are complicated so you may want to contact a family law lawyer or a family justice counesllor for help. | |||
| For more information, please see the fact sheet <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/spousal_support.php">Spousal Support</a> by the Legal Services Society. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_support_info" aria-controls="collapse_support_info"> | |||
| <div> | |||
| What detail/information do I need to provide? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_support_info"> | |||
| <div> | |||
| <p>Typically, Spousal Support is resolved out of court and is detailed in a separation agreement.</p> | |||
| <p>Many couples come to an agreement about spousal support outside of court and capture the details in a | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/spousal_support.php">separation agreement</a>. | |||
| "Agreements that are filed with the court can be enforced — they have the same force as a court order. | |||
| They can also be set aside (cancelled) if the situation changes. | |||
| </p> | |||
| <p>If you're applying for an undefended divorce and asking for spousal support, make sure you fill in:</p> | |||
| <ul> | |||
| <li>- the amount of support you want, and</li> | |||
| <li>- an amount for your spouse's income. If you aren't sure, make your best estimate.</li> | |||
| </ul> | |||
| <p>If you don't provide this information, the court may not make an order.</p> | |||
| <p> | |||
| If you're married, you must claim spousal support within two years of the divorce judgment. If you were not married, | |||
| but lived in a marriage-like relationship for two years or more, you must apply within two years of your separation. | |||
| </p> | |||
| <p> | |||
| For help on what factors to consider, and details to include in your spousal support agreement, refer to the online tool, | |||
| <a href="http://www.familylaw.lss.bc.ca/guides/separation/supportSpouse.php">How to Write Your Own Separation Agreement</a>, | |||
| produced by the Legal Services Society. | |||
| </p> | |||
| <p> | |||
| You may also find Clicklaw's wikibook on <a href="http://wiki.clicklaw.bc.ca/index.php/Spousal_Support">Spousal Support</a> helpful. | |||
| This wikibook is a chapter from the JP Boyd on <a href="http://wiki.clicklaw.bc.ca/index.php?title=JP_Boyd_on_Family_Law">Family Law wikibook</a>. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <div> | |||
| <h3>Please indicate which act you are asking for support under.</h3> | |||
| <div class="radio"><label>{% input_option type="radio" name="spouse_support_act" value="divorce" data_target_id="other_reason" data_reveal_target="false" %}the Divorce Act (Canada)</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="spouse_support_act" value="family" data_target_id="other_reason" data_reveal_target="true" %}the Family Law Act</label></div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_support_act" aria-controls="collapse_support_act"> | |||
| <div> | |||
| How do I know which act applies to my situation? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_support_act"> | |||
| <div> | |||
| <p>Ok, you may be thinking, how the heck am I supposed to know which act (a written law) applies. Let's see if we can help you identify which act best fits with your circumstances/situation.</p> | |||
| <p><b>If you are not married (common law) > Family Law Act</b><br/> | |||
| If you were never married, you must use the Family Law Act. Provincial and territorial laws apply when unmarried couples separate or when married couples separate but do not pursue a divorce | |||
| </p> | |||
| <p><b>If you are Married > Family Law Act or Divorce Act</b><br/> | |||
| If you're married, you have a choice.The federal Divorce Act generally applies when parents are divorcing. Provincial and territorial laws apply when married couples separate but do not pursue a divorce | |||
| </p> | |||
| <p> | |||
| For more information on | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/what_laws_apply.php">which laws apply</a> to your situation please refer to the Legal Services Society web site. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '06_proof' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '07_property' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <div> | |||
| <h2>What is spousal support?</h2> | |||
| <p>The objectives of spousal support are to:</p> | |||
| <ul> | |||
| <li>- Deal with any economic advantages or disadvantages a spouse may face as a result of the relationship or separation</li> | |||
| <li>- Share the financial consequences arising from care of the children</li> | |||
| <li>- Reduce the financial hardship a spouse will experience as a result of the separation, and</li> | |||
| <li>- Encourage each spouse to become financially self-sufficient within a reasonable period of time.</li> | |||
| </ul> | |||
| </div> | |||
| <div> | |||
| <div> | |||
| <h2>How is spousal support decided?</h2> | |||
| <a href="http://www2.gov.bc.ca/gov/content/life-events/divorce/family-justice/family-law/spousal-support/how-decided">Link</a> | |||
| </div> | |||
| <div> | |||
| <h2>Spousal Support Advisory Guidelines</h2> | |||
| <p>The <a href="http://www.justice.gc.ca/eng/fl-df/spousal-epoux/ss-pae.html"> Support Advisory Guidelines</a> can help you figure out the amount of spousal support that should be paid.</p> | |||
| <p>These guidelines aren't the law (neither you or the judge has to follow them), but if your case went to court, the judge or master would probably look at the guidelines to help make his or her decision about the amount of spousal support. The guidelines take into account the income of both spouses, how long you were married, and whether you have children.</p> | |||
| <p>For more information, see the Department of Justice website on | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/spousal_support.php">spousal support.</a></p> | |||
| </div> | |||
| <div> | |||
| <h2>How is spousal support enforced?</h2> | |||
| <p>Many couples come to an agreement about spousal support without going to court. Agreements that are filed with the court can be enforced — they have the same force as a court order. They can also be set aside (cancelled) if the situation changes.</p> | |||
| <p>If you're trying to negotiate an agreement, consider the factors listed under When should spousal support be paid? (above) and the amount of support listed in the Spousal Support Advisory Guidelines. Get advice from a lawyer about what is fair.</p> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h2>What financial information you will need to provide</h2> | |||
| <p>When one spouse applies for spousal support, both spouses will have to provide financial information to each other and to the court. You will have to share detailed documents showing your income, assets, and debt. Both Supreme and Provincial Court have rules setting out exactly what needs to be shared and when.</p> | |||
| <p>Be aware that the law requires you to provide "full and true" information to the other party, whether you're negotiating an agreement or making or responding to a court application. There can be serious consequences if you don't. There may be financial penalties, and the court could make changes to your agreement or order.</p> | |||
| <p>In the Supreme Court, both parties must fill out a | |||
| <a href="http://www.ag.gov.bc.ca/courts/forms/sup_family/F8.pdf">Financial Statement (Form F8)</a> and file it with the court for orders related to support. For help, refer to the guide | |||
| <a href="http://www.familylaw.lss.bc.ca/guides/mini/howToFillFinanState_SC.php">How to deal with a Supreme Court Financial Statement,</a> produced by the Legal Services Society.</p> | |||
| <p>In the Provincial Court, both parties must fill out and file a Financial Statement (Form 4). For help, see our guide How to deal with a Provincial Court Financial Statement. However, if you agree about the amount of your incomes and how much support should be paid, you can instead fill out a Consent form (Form 19) and file it along with copies of your most recent income tax returns and notices of assessment.</p> | |||
| </div> | |||
| <div> | |||
| <h2>(Add image here if needed)</h2> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,173 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Application Location{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 7. Property and Debt</h1> | |||
| <div> | |||
| <p>After you separate, the law says that all family property | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Family property</b><br /><br />The assest acquired by either spouse during the course of the relationship, | |||
| plus any increase in the value of excluded property. The law assumes that you're both entitled to an equal share of | |||
| family property unless an equal division would be significantly unfair." aria-hidden="true"></i> | |||
| and family debt | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Family debt</b><br /><br />Money owned to others accumulated during a relationship or to maintain | |||
| family property after separation. The law assumes that both spouses are equally responsible for the debt | |||
| unless an equal division would be "significantly unfair."" aria-hidden="true"></i> | |||
| must be divided equally between you and your spouse, unless you have an agreement | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Family debt</b><br /><br />A written document that sets out how you and your spouse have agreed | |||
| to deal with parenting, support, and/or property." aria-hidden="true"></i> | |||
| that says you'll divide them differently. | |||
| </p> | |||
| <p>Family property is everything either you or your spouse own together or separately on the date you separate. It includes:</p> | |||
| <ul> | |||
| <li>- the family home</li> | |||
| <li>- RRSPs</li> | |||
| <li>- investments</li> | |||
| <li>- bank accounts</li> | |||
| <li>- insurance policies</li> | |||
| <li>- pensions</li> | |||
| <li>- an interest in a business</li> | |||
| </ul> | |||
| <p>It doesn't matter whose name the property is in.</p> | |||
| <p> | |||
| See <a href="http://www.bclaws.ca/EPLibraries/bclaws_new/document/ID/freeside/11025_05#section84">section 84 of the Family Law Act</a> | |||
| for more about what counts as family property. | |||
| </p> | |||
| </div> | |||
| <div> | |||
| <h3>How have you and {% if name_spouse %} {{ name_spouse }} {% else %} your spouse {% endif %} agreed to deal with your property and debt?</h3> | |||
| <div class="radio"><label>{% input_option type="radio" name="deal_with_property_debt" value="equal division" %}<b>Equal division</b> of family property and debt</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" name="deal_with_property_debt" value="unequal division" %}<b>Unequal division</b> of family property and family debt</label></div> | |||
| <p><em>Note: the court will only order an unequal division when an equal division is significantly unfair.</em></p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_unequal_division" aria-controls="collapse_unequal_division"> | |||
| <div> | |||
| When can property be divided unequally? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_unequal_division"> | |||
| <div> | |||
| <p>A court will divide family property or debt unequally only if it would be “significantly unfair” to divide it equally. This means that a court will not order an unequal division in most cases. The court can look at a number of factors when deciding whether to divide property or debt unequally.</p> | |||
| <p>As well, a couple can divide their property or debt unequally by making an agreement.</p> | |||
| <p> | |||
| See | |||
| <a href="http://www.bclaws.ca/EPLibraries/bclaws_new/document/ID/freeside/11025_05#section95">section 95</a> of the Family Law Act for more about unequal division of property and debt. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_common_law_division" aria-controls="collapse_common_law_division"> | |||
| <div> | |||
| How is property and debt divided when a common law relationship ends? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_common_law_division"> | |||
| <div> | |||
| <p>For dividing property and debts, couples who have lived together in a marriage-like relationship for two years are treated like married couples. This means you equally share all the property you acquired during the relationship. If you bought the house while you were in a marriage-like relationship, it doesn't matter who paid the down payment — the house is considered family property and you'll have to divide it equally. (If either of you owned property that was bought before the relationship, you have to share the amount by which the value of the property increased since you started living together.)</p> | |||
| <p>However, if applying the rule would result in significant unfairness, a judge can order a division that's not 50/50.</p> | |||
| </div> | |||
| </div> | |||
| {% if married_marriage_like == 'Living together in a marriage like relationship' %} | |||
| <div class="information-message bg-danger"> | |||
| <p>In order to be considered a spouse for the purposes of dividing property or debt you must have lived together in a marriage-like relationship for at least two years.</p> | |||
| <p>Under the law, the start date of a spousal relationship is the day two individuals begin living together in a marriage-like relationship, or the day they were married, whichever is first. The start date of a spousal relationship determines when rights or responsibilities start under the Family Law Act, particularly respecting property division.</p> | |||
| </div> | |||
| {% endif %} | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <div> | |||
| <h3>Please describe how you and your spouse plan to divide your property, assets and your debts. </h3> | |||
| <p>Because the division of family property and debt can be complex we recommend you get | |||
| <a href="http://www2.gov.bc.ca/gov/content/life-events/divorce/family-justice/who-can-help/lawyers">legal advice</a> | |||
| before you make any final decisions. </p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_deal_property" aria-controls="collapse_deal_property"> | |||
| <div> | |||
| Where to find out more about dealing with Property and Debt | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_deal_property"> | |||
| <div> | |||
| <p>The fact sheet Dealing With Debts After Separation (for Married and Common-law Couples) by the Legal Services Society answers a range of questions including:</p> | |||
| <ul> | |||
| <li>- What is family property?</li> | |||
| <li>- What about property one of us owned before we got together?</li> | |||
| <li>- Can creditors force me to pay back my ex-spouse's debts?</li> | |||
| </ul> | |||
| <p>The Family Law web site has an online separation agreement tool that details some of the items to consider when | |||
| <a href="http://www.familylaw.lss.bc.ca/guides/separation/property.php">dividing property</a> and | |||
| <a href="http://www.familylaw.lss.bc.ca/guides/separation/debt.php">debt</a>.</p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>Other Property Claims</h3> | |||
| <p>This section is about excluded property - e.g. property owned by the respondent at the time you moved in together, and gifts or inheritances the respondent received. Compensation is cash instead of ownership of your share of the property.</p> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '06_support' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '08_other_orders' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <div> | |||
| <h2>Where to Find Out More About Dealing with Property and Debt</h2> | |||
| <p>For more information about dealing with Property and Debt, please visit:</p> | |||
| <ul> | |||
| <li>- The <a href="http://www2.gov.bc.ca/gov/content/life-events/divorce/family-justice/family-law/dealing-with-property-and-debt">Family Justice section</a> of the BC Government web site. </li> | |||
| <li>- <a href="http://www.familylaw.lss.bc.ca/">Dividing family property and debts</a> on the Family Law in British Columbia website</li> | |||
| <li>- <a href="http://www.familylaw.lss.bc.ca/resources/publications/pub.php?pub=347">Living Together or Living Apart</a>, a booklet about the family law basics in B.C.</li> | |||
| <li>- <a href="http://www.cbabc.org/For-the-Public/Dial-A-Law/Scripts/Family-Law/124">Dividing Family Assets</a> in the Family Law section of Dial-A-Law</li> | |||
| </ul> | |||
| </div> | |||
| <div> | |||
| <h2>Excluded property includes:</h2> | |||
| <ul> | |||
| <li>any property that each spouse owned before the relationship started</li> | |||
| <li>gifts and inheritances given to only one spouse during the relationship;</li> | |||
| <li>compensation payments made to one spouse only for personal injury | |||
| or loss (unless it was meant to compensate both spouses or involves | |||
| income that was lost during the relationship)</li> | |||
| <li>insurance payments made to one spouse only for personal injury or | |||
| loss (unless it was meant to compensate both spouses or involves | |||
| income that was lost during the relationship); or</li> | |||
| <li>property bought during the relationship with excluded property. | |||
| Excluded property belongs to the spouse who owned, bought, or received | |||
| it. However, if the property becomes more valuable during the relationship, | |||
| the increase in value is considered family property.</li> | |||
| </ul> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,26 @@ | |||
| {% extends 'base.html' %}{% load input_option %} | |||
| {% block title %}{{ block.super }}: Other Orders{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 8. Other Orders</h1> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '07_property' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '09_other_questions' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,27 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Spousal Support{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 9. Other Questions</h1> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '08_other_orders' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '10_location' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,74 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% block title %}{{ block.super }}: Property And Debts{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 10: Filing Location</h1> | |||
| <p>The only way to obtain an order for divorce is by starting a court proceeding in the B.C. Supreme Court; | |||
| you must sue your spouse if you want to get divorced. To do this you will need to submit (file) | |||
| your divorce application at a court registry | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>COURT REGISTRY</b><br /><br />A central office (for the B.C. Supreme Court) at which | |||
| the court files for each court proceeding in that district are maintained, and at which legal documents, | |||
| can be filed, searched for and reviewed" aria-hidden="true"></i>.</p> | |||
| <div> | |||
| <h3>At what court registry will you be filing?</h3> | |||
| <p><em>Select a city to find the nearest Supreme Court Registry</em></p> | |||
| <select class="response-dropdown" name="court_registry_for_filing"> | |||
| <option value="" disabled selected>Please select</option> | |||
| <option value="Port Coquitlam">Port Coquitlam</option> | |||
| <option value="Burnaby">Burnaby</option> | |||
| <option value="New Westminster">New Westminster</option> | |||
| <option value="Vancouver">Vancouver</option> | |||
| </select> | |||
| </div> | |||
| <div> | |||
| <h3>What is the best address to send you official court documents?</h3> | |||
| <p><em>This is known as your "address for service"</em></p> | |||
| <p><em>House and street number</em></p> | |||
| {% input_option type="text" name="address_to_send_official_document_street" class="response-textbox" %} | |||
| <p><em>City</em></p> | |||
| {% input_option type="text" name="address_to_send_official_document_city" class="response-textbox" %} | |||
| <p><em>Prov/State</em></p> | |||
| {% input_option type="text" name="address_to_send_official_document_prov" class="response-textbox" %} | |||
| <p>Country</p> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="address_to_send_official_document_country" value="Canada" %}Canada</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" name="address_to_send_official_document_country" value="USA" %}USA</label></div> | |||
| <div class="radio"><label>{% input_option type="radio" class="radio-with-other" id="radio_with_textbox" name="address_to_send_official_document_country" value="Other" %}Other {% input_option type="text" name="address_to_send_official_document_other_country" class="response-textbox other-textbox" %}</label></div> | |||
| </div> | |||
| <div> | |||
| <p><em>If you don’t live within 30 km of a court registry, you must provide a fax number or email address. | |||
| If you main address is a PO box, you can list this instead of the fax or email but you must also list | |||
| an address that’s not a PO box.</em></p> | |||
| <p><em>Fax number (optional)</em></p> | |||
| {% input_option type="text" name="address_to_send_official_document_fax" class="response-textbox" %} | |||
| <p><em>Email Address (optional)</em></p> | |||
| {% input_option type="text" id="email_textbox" name="address_to_send_official_document_email" class="response-textbox" %} | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'form_steps' 'f1' '09_other_questions' %}"> | |||
| <input type="submit" value="Back"/> | |||
| </form> | |||
| <form action="#"> | |||
| <input type="submit" value="Save"/> | |||
| </form> | |||
| <form action="{% url 'form_steps' 'f1' '11_review' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,60 @@ | |||
| {% extends 'base.html' %}{% load input_option %} | |||
| {% block title %}{{ block.super }}: Review{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Step 11. Review</h1> | |||
| <ul> | |||
| <li> | |||
| <h4>Step 1: What are you asking for</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=prequalification %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 2: Your information</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=your_information %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 3: Your spouse</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=your_spouse %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 4: Your marriage</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=your_marriage %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 5: Your separation</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=your_separation %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 6: Spousal support</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=spousal_support %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 7: Property and debt</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=property_and_debt %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 8: Other orders</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=other_orders %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 9: Other questions</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=other_questions %} | |||
| </li> | |||
| <li> | |||
| <h4>Step 10: Filing locations</h4> | |||
| {% include "chunks/review_user_responses.html" with questions=filing_locations %} | |||
| </li> | |||
| </ul> | |||
| <form action="{% url 'overview' %}"> | |||
| <input type="submit" value="Process overview" style="border: solid"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Your Information{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Your Information</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Declarations{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Declarations</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Application Location{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Application Location</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Your Marriage{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Your Marriage</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: What Are You Asking For (Orders)?{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>What Are You Asking For (Orders)?</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Other Orders{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Other Orders</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Proof Of Marriage{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Proof Of Marriage</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Property And Debts{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Property And Debts</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Reason For Divorce{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Reason For Divorce</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Your Spouse{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Your Spouse</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Review{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Review</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Spousal Support{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Spousal Support</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,11 +1,30 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ super }}: Homepage{% endblock %} | |||
| {% block title %}{{ block.super }}: Login{% endblock %} | |||
| {% block page_heading %}Step 1: Home{% endblock page_heading %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>eDivorce</p> | |||
| </div> | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <p>Home</p> | |||
| <h3>Intro page</h3> | |||
| <form action="{% url 'intro' %}"> | |||
| <input type="submit" value="To Intro" style="border: solid"/> | |||
| </form> | |||
| <h3>Prequalification page</h3> | |||
| <form action="{% url 'prequalification' '01' %}"> | |||
| <input type="submit" value="To Prequalification" style="border: solid"/> | |||
| </form> | |||
| <h3>F1 page</h3> | |||
| <form action="{% url 'form_steps' 'f1' '01_orders' %}"> | |||
| <input type="submit" value="To F1" style="border: solid"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebar %}{% endblock %} | |||
| @ -0,0 +1,52 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Intro{% endblock %} | |||
| {% block content %} | |||
| <div class="container-wrapper"> | |||
| <div class="container"> | |||
| <div class="row"> | |||
| <div class="col-md-8 col-md-offset-2"> | |||
| <h1>Let us guide you through the divorce process</h1> | |||
| <p>This online Divorce Assistantance tool will help you determine the forms you will need to assemble, | |||
| and the tasks you will need to complete, in order to complete your divorce.</p> | |||
| <h3>How it works</h3> | |||
| <p><b>1. Answer Questions</b> | |||
| <br> | |||
| Filling out our secure online questionnaire is completely free. Your work is saved so you can | |||
| proceed at your own pace. | |||
| </p> | |||
| <p><b>2. Print Your Forms</b> | |||
| <br> | |||
| Print your papers and file at your local court registry. That's all there is to it! | |||
| </p> | |||
| <div class="information-message bg-danger"> | |||
| <p> | |||
| Please note: at this point in time we cannot offer online submission (like your taxes) | |||
| so you will need to print off your forms and take them to a court registry. | |||
| </p> | |||
| </div> | |||
| <h2 style="text-decoration: underline"> | |||
| <a href="{% url 'prequalification' '01' %}">New User - Let's Get Started</a> | |||
| </h2> | |||
| <h2 style="text-decoration: underline"> | |||
| <a href="{% url 'login' %}">Returning User - Login with BCeID</a> | |||
| </h2> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebar %} | |||
| <!-- no sidebar --> | |||
| {% endblock %} | |||
| @ -1,11 +0,0 @@ | |||
| {% extends 'base.html' %} | |||
| {% block title %}{{ block.super }}: Prequalification{% endblock %} | |||
| {% block content %} | |||
| <div class="row"> | |||
| <div class="col-lg-12"> | |||
| <p>Prequalification</p> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| @ -0,0 +1,66 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% 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"> | |||
| <h1>Do you qualify for a divorce in BC?</h1> | |||
| <p>Let's start off with a few questions about your situation to make sure that this online divorce tool can | |||
| work for you.</p> | |||
| <h3>Are you</h3> | |||
| <div class="radio"><label> | |||
| {% input_option type="radio" name="married_marriage_like" value="Legally married" %} | |||
| Legally married<i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" | |||
| data-html="true" | |||
| title="<b>LEGALLY MARRIED</b><br /><br />Legally married is defined as: when two people agree | |||
| to live together in a partnership made legally binding by a religous or legal ceremony.<br /><br /> | |||
| To prove you were legally married you will need to provide a marriage certificate issued in the country | |||
| where you were married." | |||
| aria-hidden="true"></i></label> | |||
| </div> | |||
| <div class="radio"><label> | |||
| {% input_option type="radio" name="married_marriage_like" value="Living together in a marriage like relationship" %} | |||
| Living together in a marriage like<i class="fa fa-question-circle" data-toggle="tooltip" | |||
| data-placement="right" data-html="true" | |||
| title="<b>MARRIAGE LIKE RELATIONSHIP</b><br /><br />The term "common-law relationship" | |||
| is often used to refer to a marriage-like relationship that has lasted a certain length of time, | |||
| usually one or two years. Used in some federal laws to refer to a marriage-like relationship of | |||
| a year or longer." aria-hidden="true"></i> (also know as common law) relationship</label> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="true" data-target="#collapse_lived_two_years" aria-controls="collapse_lived_two_year"> | |||
| <div> | |||
| If I have lived with my spouse for at least two years, are we married? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_lived_two_years"> | |||
| <div> | |||
| <p>No, you aren't married, but after two years, you have a lot of the same rights as a married | |||
| couple would. And some federal benefits treat you as married spouse if you've been living together for one | |||
| year. For more information refer to the booklet called | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/publications/pub.php?pub=347"> | |||
| Living Together or Living Apart: Common-Law Relationships, Marriage, Separation and Divorce</a>, | |||
| on the Legal Services Society website.</p> | |||
| </div> | |||
| </div> | |||
| <div class="next-button"> | |||
| <form action="{% url 'prequalification' '02' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebar %} | |||
| <!-- no sidebar --> | |||
| {% endblock %} | |||
| @ -0,0 +1,98 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% 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"> | |||
| <h1>Do you qualify for a divorce in BC?</h1> | |||
| <div> | |||
| <h3>Do you or your spouse live in British Columbia?</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="lived_in_bc" autocomplete="off" value="YES" data_target_id="cannot_divorce_in_bc" data_reveal_target="false" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="lived_in_bc" autocomplete="off" value="NO" data_target_id="cannot_divorce_in_bc" data_reveal_target="true" %} No | |||
| </label> | |||
| </div> | |||
| <div class="information-message bg-danger" id="cannot_divorce_in_bc" hidden> | |||
| <p> | |||
| You must apply for divorce in the Canadian province or territory in which you've lived for a full year immediately before making your application.<br> | |||
| To find out how to apply for a divorce in your province or territory refer to the appropriate | |||
| <a href="http://www.justice.gc.ca/eng/fl-df/pt-tp/index.html">Provincial or Territorial Government website.</a> | |||
| </p> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_living_in_bc" aria-controls="collapse_living_in_bc"> | |||
| <div> | |||
| I've been living in B.C. for many years, but my spouse lives in another province. Can we still get divorced in B.C.? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_living_in_bc"> | |||
| <div> | |||
| <p>Yes. If you've been living in B.C. for at least one year and continue to live in B.C., you can apply for | |||
| divorce in BC Supreme Court. The Canada Divorce Act states that a provincial court can deal with a | |||
| divorce proceedings when either spouse has been living in the province for at least one year immediately | |||
| before applying.</p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>Have you or your spouse lived in B.C. at least one year prior to starting your divorce?</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="lived_in_bc_at_least_year" autocomplete="off" value="YES" data_target_id="divorce_precondition" data_reveal_target="false" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="lived_in_bc_at_least_year" autocomplete="off" value="NO" data_target_id="divorce_precondition" data_reveal_target="true" %} No | |||
| </label> | |||
| </div> | |||
| <div class="information-message bg-danger" id="divorce_precondition" hidden> | |||
| <p> | |||
| Before you can apply for divorce in B.C. it is required that you or your spouse has lived in B.C (ordinarily resident) | |||
| for the last year. You can use this Divorce Service but you will not be able to submit your divorce application to | |||
| the registry until you or your spouse has lived in the province for one year. | |||
| </p> | |||
| <p> | |||
| Another option is to see if you are eligible to apply for divorce in the province/ territory that | |||
| you have most recently lived in prior to moving to B.C.<br> | |||
| More information on | |||
| <a href="http://www.justice.gc.ca/eng/fl-df/pt-tp/index.html">How to Apply for a Divorce in other provinces and territories</a> | |||
| can be found on the Department of Justice website. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| <form action="{% url 'prequalification' '03' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText%} | |||
| <h2>Ordinarily Resident</h2> | |||
| <p> | |||
| The legal definition of “ordinarily resident” is: the place where in the settled routine of an individual's life, he or she regularly, normally or customarily lives. | |||
| </p> | |||
| <p> | |||
| “Ordinarily” is the word is used in s. 3(1) of the Divorce Act…. A court in a province has jurisdiction to hear and determine a divorce | |||
| proceeding if either spouse has been ordinarily resident in the province for at least one year immediately preceding the commencement of the proceeding. | |||
| </p> | |||
| <p> | |||
| A detailed explanation of the meaning of ordinarily resident can be found on the | |||
| <a href="http://www.justice.gc.ca/eng/rp-pr/fl-lf/divorce/rhro_cl/p4.html">Department of Justice</a> web site. | |||
| </p> | |||
| {% endblock %} | |||
| @ -0,0 +1,141 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% 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"> | |||
| <div> | |||
| <h3>When did you and your spouse separate (legally this is referred to as living separate and apart) | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Living separate and apart</b><br /><br /><p>You or your spouse have decided to end the marriage. In general one separates by moving out. | |||
| However it is possible to be separated but still live under the same roof as long as either you our your spouse, | |||
| have clearly communicated your intention for a permanent separation (and are starting to act upon it).</p> | |||
| <p>This could mean:</p><ul><li>You're living in separate rooms</li><li>You're sleeping in separate beds</li><li>There's no sexual relationship</li>" aria-hidden="true"></i>? | |||
| </h3> | |||
| <p>{% input_option type="text" name="separation_date" class="date-picker" id="separated_date" placeholder="DD/MM/YYYY" %} <i class="fa fa-calendar circle" aria-hidden="true"></i></p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_determine_separation_date" aria-controls="collapse_determine_separation_date"> | |||
| <div> | |||
| How do I determine the separation date? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_determine_separation_date"> | |||
| <div> | |||
| <p>Starts when one spouse decides that things have come to an end/the relationship is over, and then act on the decision.</p> | |||
| <p> | |||
| There is no such thing as a "legal separation." If you're married or in a common-law relationship, | |||
| you become separated as soon as you and your spouse start living apart with at least one of you wanting to separate. | |||
| You don't need your spouse's permission to start living separately. You can tell others that you wish to separate, | |||
| but you don't have to see a lawyer, sign a document, or go to court to be separated. | |||
| </p> | |||
| <p> | |||
| You might even still live in the same house to save money, but you're usually still considered separated | |||
| if you don't share things like meals, a bedroom, and social activities. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_exact_date" aria-controls="collapse_exact_date"> | |||
| <div> | |||
| What do I do if I can't remember the exact date? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_exact_date"> | |||
| <div> | |||
| <p>If you cannot remember the exact date you separated then enter:</p> | |||
| <ul> | |||
| <li>the last day of that month in which you decided to separate from your spouse, and;</li> | |||
| <li>year</li> | |||
| </ul> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <!-- TODO: If separation date is less than one year display alert message (see column e)--> | |||
| <div class="information-message bg-danger" hidden> | |||
| <p> | |||
| The date you entered indicates you've been separated for less than one year You can use this online tool to start working | |||
| on the divorce forms, however you will not be able to file your documents at the registry until | |||
| the one year separation period has passed. | |||
| </p> | |||
| <p>Under the Divorce Act, a divorce may be granted on one of three grounds:</p> | |||
| <ul> | |||
| <li>intentional separation for more than one year</li> | |||
| <li>adultery</li> | |||
| <li>physical or mental cruelty</li> | |||
| </ul> | |||
| <p> | |||
| Most divorces are granted on the basis of intentional separation for more than a year. | |||
| It's possible to get a divorce more quickly by basing it on the grounds of either adultery or physical or mental cruelty. | |||
| However, you must be able to prove the adultery or cruelty. It's best to talk to a lawyer before deciding to seek a divorce | |||
| on grounds other than separation. | |||
| </p> | |||
| </div> | |||
| <div> | |||
| <h3>Did you and {% if name_spouse %} {{ name_spouse }} {% else %} your spouse {% endif %} try and reconcile after you separated <span id="separation_date_span"></span>?</h3> | |||
| <div class="radio"><label>{% input_option type="radio" name="try_reconcile_after_separated" value="NO" %} | |||
| No, {% if name_spouse %} {{ name_spouse }} {% else %} my spouse {% endif %} and I have not reconciled (gotten back together)</label> | |||
| </div> | |||
| <div class="radio"><label>{% input_option type="radio" name="try_reconcile_after_separated" value="YES" %} | |||
| Yes, {% if name_spouse %} {{ name_spouse }} {% else %} my spouse {% endif %} and I lived together again during the following period(s) in an unsuccessful attempt to reconcile</label> | |||
| </div> | |||
| <!-- TODO: Dev note: If reconciliation period is greater than 90 days, display Alert message in column F --> | |||
| <!-- TODO: Add multiple date adding fields --> | |||
| <div> | |||
| <div class="information-message bg-danger" hidden> | |||
| <p>Based on the date(s) you have provided for reconciliation, we have detected that your reconciliation may be for a period of greater than 90 days. Within the one year separation period, you can only live together for 90 days or less. </p> | |||
| <p>You can still proceed to complete the application, however, it will be up to the court to decide if you have lived separate and apart for the required period of one year.</p> | |||
| <!-- TODO: Talk to a lawyer links to help centre page. --> | |||
| <p>You may want to talk to a lawyer regarding your legal rights and options. </p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_reconcile_not_work" aria-controls="collapse_reconcile_not_work"> | |||
| <div> | |||
| What happens if my spouse and I tried to get back together for a short time but it did not work out? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_reconcile_not_work"> | |||
| <div> | |||
| <p> | |||
| Spouses that are separated can get back together and live together again to try and make the marriage work. | |||
| But within the one-year separation period, they can only live together for a total of 90 days or less. | |||
| If they live together for more than 90 days, the one-year period of separation starts all over again from the date of the last separation. | |||
| For more information on separation, refer to script 115 on “Separation and Separation Agreements”. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <form action="{% url 'prequalification' '04' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText%} | |||
| <p>When two people who have been living together in a marriage, or a marriage-like relationship (sometimes called a common-law relationship), decide not to live together any more, they are separated.</p> | |||
| <p>There is no such thing as a "legal" separation. If you are living apart, you are separated.</p> | |||
| <p>It is possible to be separated and still living in the same home where a clear intention of a permanent separation has been communicated and acted upon.</p> | |||
| <h3>What happens if my spouse and I tried to work things out</h3> | |||
| <p> | |||
| If you apply for a divorce on the basis of a one-year separation, you can live together for up to 90 days | |||
| (either before or after you file the application) to try to reconcile. If things do not work out, you can continue your action for | |||
| divorce as if you had not spent the time together. | |||
| </p> | |||
| <h3>Does being separated mean living at two different addresses?</h3> | |||
| <p>Some couples choose to separate but still live in the same house. A lawyer can tell you what factors courts may consider when they are deciding if you are separated.</p> | |||
| <p>A list of activities and behaviours that the courts consider to be indicators of a couple being separated can be found on the Legal Services Society website</p> | |||
| {% endblock %} | |||
| @ -0,0 +1,93 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% 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="http://wiki.clicklaw.bc.ca/index.php?title=Divorce Act">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="a"> | |||
| <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="http://www.justice.gc.ca/eng/rp-pr/fl-lf/child-enfant/rp/v2/v2_7.html">definition of "child of the marriage"</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_option 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_option 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_option 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_option 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">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">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="radio"><label>{% input_option type="checkbox" name="children_financial_support" value="No" data_target_id="need_support" data_reveal_target="false" %}No</label></div> | |||
| <div class="radio"><label>{% input_option 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="radio"><label>{% input_option 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="radio"><label>{% input_option 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="radio"><label>{% input_option 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">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">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 %} | |||
| @ -0,0 +1,179 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% 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"> | |||
| <h1>Do you qualify for a divorce in BC?</h1> | |||
| <h3>Will you be able to provide proof of your marriage (in the form of an original or certified marriage certificate | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Original Marriage Certificate</b><br /><br />The marriage certificate you received at the church — | |||
| or any other place where you were married — isn't acceptable in court. You can get a marriage certificate | |||
| or a certified copy of the registration of marriage from | |||
| <a href="http://www2.gov.B.C..ca/gov/content/life-events/marriages/marriage-certificates">Vital Statistics</a> | |||
| (an office run by the provincial government)." aria-hidden="true"></i> | |||
| or registration of marriage | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Registration Marriage Certificate</b><br /><br />The Registration of Marriage is the document issued by | |||
| Vital Statistics (an office run by the provincial government) along with the Marriage License. This document | |||
| would have been signed by you and your spouse, the person who married you (the officiant) and your wedding ceremony witnesses. | |||
| Within 48 hours of the wedding, the officiant would have submitted the registration to the Vital Statistics Agency | |||
| where the registration information becomes a permanent legal record. Vital Statistics cannot issue a marriage certificate | |||
| until the marriage is registered. <br/><br/> For more information, please refer to the | |||
| <a href="http://www2.gov.B.C..ca/gov/content/life-events/marriages/marriage-registration/certified-copies-and-certified-electronic-extracts-of-a-marriage-registration">Marriage Registration page</a> | |||
| on the B.C. Government web site." aria-hidden="true"></i>)?</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="original_marriage_certificate" autocomplete="off" value="YES" data_target_id="marriage_certificate" data_reveal_target="false" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="original_marriage_certificate" autocomplete="off" value="NO" data_target_id="marriage_certificate" data_reveal_target="true" %} No | |||
| </label> | |||
| </div> | |||
| <p><em>The marriage certificate you received at the church — or any other place where you were married — isn't | |||
| acceptable in court. You need the certificate that was issued to you by the government.</em></p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapseExample" aria-controls="collapseExample"> | |||
| <div> | |||
| How can I get an original copy of my marriage certificate or registration of marriage? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapseExample"> | |||
| <div> | |||
| <p>If you were married in B.C. you can get a copy of your marriage certificate or a certified copy of | |||
| the registration of marriage from | |||
| <a href="http://www2.gov.bc.ca/gov/content/life-events/marriages/marriage-certificates"> | |||
| Vital Statistics</a> (an office run by the provincial government).</p> | |||
| <p><b>If You Were Married in Another Province</b></p> | |||
| <p>If you were married in another province you need to get the official marriage certificate or | |||
| registration of marriage from the office equivalent to the department of vital statistics in that | |||
| province.</p> | |||
| <p><b>If You Were married in Another Country</b></p> | |||
| <p>Contact the office responsible for marriage records in the country where you were married.</p> | |||
| </div> | |||
| </div> | |||
| <div class="reveal" id="marriage_certificate" hidden> | |||
| <h3>Will you be providing the marriage certificate or registration of marriage at a later date</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="provide_certificate_later" autocomplete="off" value="YES" data_target_id="reason_not_providing" data_reveal_target="false" data_related_id="provide_later_date" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio btn-radio-long"> | |||
| {% input_option type="radio" name="provide_certificate_later" autocomplete="off" value="NO" data_target_id="reason_not_providing" data_reveal_target="true" data_related_id="provide_later_date" %} No, it is impossible to obtain a marriage certificate (or registration of marriage | |||
| </label> | |||
| </div> | |||
| <div class="information-message" id="provide_later_date" hidden> | |||
| <div class="bg-danger"> | |||
| <p> | |||
| If you can't get your marriage certificate before your case begins, state that on the court forms and explain why. | |||
| You may be able to file your marriage certificate later if the court registrar | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Court Registrar</b><br /><br />An officer of the court who has the power to make | |||
| certain decisions (such as whether or not a divorce application without an original marriage certificate will be accepted).</a>." aria-hidden="true"></i> | |||
| is satisfied that you had a good reason for not filing this document sooner. If the court registrar is dissatisfied | |||
| with your reason for not filing your marriage certificate, you will be unable to file your claim for divorce until the document can be produced. | |||
| </p> | |||
| </div> | |||
| <h3>If you will be providing the marriage certificate or registration of marriage at a later date, please let us know why.</h3> | |||
| <p>Ideally the marriage certificate or registration of marriage is provided to the registry | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Registry</b><br /><br />A registry is where you file your divorce documents. | |||
| Registries are located in courthouses <a href="http://www.ag.gov.bc.ca/courts/overview/locations/">around the province</a>." aria-hidden="true"></i> | |||
| when you file the Notice of Joint Family Claim | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Notice of Joint Family Claim</b><br /><br />This is the document that start the court case. | |||
| The Notice of Joint Family Claim (form F1) gives the court details about you and your spouse, about your marriage | |||
| and separation, and about what you're asking the court for.</a>." aria-hidden="true"></i>(form F1).</p> | |||
| {% input_option type="textarea" class="response-textarea" name="provide_certificate_later_reason" rows="8" cols="65" %} | |||
| <p>If the registrar | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>registrar</b><br /><br />An officer of the court who has the power to make | |||
| certain decisions (such as whether or not a divorce application without an original marriage certificate will be accepted).</a>." aria-hidden="true"></i> | |||
| agrees with the reasons you provide, and accepts the Notice of Joint Family Claim (form F1), | |||
| you will need to provide proof of marriage before your application for a divorce order | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>order</b><br /><br />A type of court ruling a judge or master makes that sets out what you must do or not do.</a>." aria-hidden="true"></i> | |||
| will be reviewed by the court. Other matters can be pursued in the mean time.</p> | |||
| <p>If the registrar is dissatisfied with the reason (s) you provide, you will not be able to file | |||
| the Notice of Joint Family claim (form F1) until the proof of marriage can be produced.</p> | |||
| </div> | |||
| <div class="information-message" id="reason_not_providing" hidden> | |||
| <div class="bg-danger"> | |||
| <p>Since you will not be providing a marriage certificate, or a registration of marriage, you will need | |||
| to state why it is impossible for you to obtain this documentation. The court registrar | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Court Registrar</b><br /><br />An officer of the court who has the power to make | |||
| certain decisions (such as whether or not a divorce application without an original marriage certificate will be accepted).</a>." aria-hidden="true"></i> | |||
| will review and then decide whether or not they will accept your reason (s). You will be asked for this detail later in this online tool.</p> | |||
| </div> | |||
| <h3>Please tell us why it is impossible to obtain a marriage certificate or registration of marriage. | |||
| The registrar will review and then decide whether or not they will accept your reason (s).</h3> | |||
| {% input_option type="textarea" class="response-textarea" name="not_provide_certificate_reason" rows="8" cols="65" %} | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <h3>Is you marriage certificate or registration of marriage in English?</h3> | |||
| <div class="btn-radio-group" data-toggle="buttons"> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="marriage_certificate_in_english" autocomplete="off" value="YES" data_target_id="certificate_in_english" data_reveal_target="false" %} Yes | |||
| </label> | |||
| <label class="btn btn-radio"> | |||
| {% input_option type="radio" name="marriage_certificate_in_english" autocomplete="off" value="NO" data_target_id="certificate_in_english" data_reveal_target="true" %} No | |||
| </label> | |||
| </div> | |||
| <div class="information-message bg-danger" id="certificate_in_english" 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">forms</a> | |||
| can be found on the Court Services Branch web site.</p> | |||
| <p>A <a href="http://www.familylaw.lss.bc.ca/guides/divorce/divJoint_courtForms.php">listing of forms</a> | |||
| that may be required for a Joint Divorce can also be found on the Family Law web site. </p> | |||
| <p><b>Proof of MarriageTranslation</b><br/> | |||
| You need to get your proof of marriage translated by a certified translator if it is not t in English. | |||
| Ask the translator to give you an Affidavit of Translation. You'll then need to file at the court registry | |||
| both the original marriage certificate/registration of marriage and the Affidavit of Translation | |||
| <i class="fa fa-question-circle" data-toggle="tooltip" data-placement="right" data-html="true" | |||
| title="<b>Affidavit of Translation</b><br /><br />The affidavit of translation is an affidavit sworn by | |||
| a translator before a notary or commissioner for taking affidavits. " aria-hidden="true"></i> | |||
| with the English translation attached as exhibits. A translator can help you do this.</p> | |||
| <p><b>If you were married in Quebec and your marriage certificate is in French</b><br/> | |||
| If your marriage certificate is in French, the registry may require you to get it translated into English. Contact your | |||
| <a href="http://www.courts.gov.bc.ca/supreme_court/court_locations_and_contacts.aspx">Supreme Court registry</a> | |||
| to find out what its rule is about marriage certificates in French.</p> | |||
| </div> | |||
| </div> | |||
| <div style="display: flex"> | |||
| <form action="{% url 'prequalification' '06' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <h3>Video: Needed for Divorce: Your Marriage Certificate</h3> | |||
| <p>An 11½-minute video excerpted from "Helping Clients Prepare Divorce Documents That Don't Bounce," a workshop by lawyer J.P. Boyd at the October 2006 LSS Provincial Training Conference for Legal Advocates.</p> | |||
| <p><a href="http://www2.gov.B.C..ca/gov/content/life-events/marriages/marriage-registration/certified-copies-and-certified-electronic-extracts-of-a-marriage-registration"> | |||
| Insert sample images of Certified Copy of a Marriage Registration and Certified Electronic Extract of a Marriage Registration</a></p> | |||
| <p><a href="http://www2.gov.B.C..ca/gov/content/life-events/marriages/marriage-certificates">Insert sample of B.C. Marriage Certificate</a></p> | |||
| {% endblock %} | |||
| @ -0,0 +1,146 @@ | |||
| {% extends 'base.html' %} | |||
| {% load input_option %} | |||
| {% 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"> | |||
| <h1>Do you qualify for a divorce in BC?</h1> | |||
| <h3>What is your reason (grounds) for asking for a divorce?</h3> | |||
| <p> | |||
| <em>The only way you will be granted a divorce in Canada is if you can prove to the courts that your marriage | |||
| has broken down and cannot be repaired.</em> | |||
| </p> | |||
| <div> | |||
| <div class="radio"><label>{% input_option type="radio" name="divorce_reason" value="live separate" data_target_id="other_reason" data_reveal_target="false" %}You and your spouse have lived separate and apart for one year or more</label></div> | |||
| <p><em>Usually the grounds for divorce are that you've been living separately and apart form your spouse for at least one year</em></p> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_separated_apart" aria-controls="collapse_separated_apart"> | |||
| <div> | |||
| What does separated and apart look like? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_separated_apart"> | |||
| <div> | |||
| <p> | |||
| You and your spouse are living separate lives from one another, whether under the same roof or in | |||
| separate homes. This could mean: | |||
| </p> | |||
| <ul> | |||
| <li>You’re living in separate rooms</li> | |||
| <li>You’re sleeping in separate beds</li> | |||
| <li>That there’s no sexual relationship</li> | |||
| <li>That you don’t eat meals together</li> | |||
| <li>That you don’t attend social events together</li> | |||
| </ul> | |||
| <p>Basically you and your spouse have decided the marriage is over and have communicated this to one another</p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_work_things_out" aria-controls="collapse_work_things_out"> | |||
| <div> | |||
| What happens if my spouse and I tried to work things out? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_work_things_out"> | |||
| <div> | |||
| <p> | |||
| If you apply for a divorce on the basis of a one-year separation, you can live together for up to 90days | |||
| (either before or after you file the application) to try to reconcile. If things do not work out, | |||
| you can continue your action for divorce as if you had not spent the time together. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_still_live_together" aria-controls="collapse_still_live_together"> | |||
| <div> | |||
| If we still live together are we separated? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_still_live_together"> | |||
| <div> | |||
| <p>Some couples choose to separate but still live in the same house. A lawyer can tell you what factors courts may consider when they are deciding if you are separated.</p> | |||
| <p> | |||
| A list of activities and behaviours that the | |||
| <a href="http://www.familylaw.lss.bc.ca/resources/fact_sheets/howToProveYouAreSeparatedIfYouStillLiveTogether.php"> | |||
| courts consider to be indicators of a couple being separated</a> can be found on the Legal Services Society website. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <div> | |||
| <div class="radio"><label>{% input_option type="radio" name="divorce_reason" value="other" data_target_id="other_reason" data_reveal_target="true" %}Other reasons (grounds)</label></div> | |||
| <div class="information-message bg-danger" id="other_reason" hidden> | |||
| <p>If you ask for a divorce due to "other reason" reasons, you have to present evidence to the court to | |||
| prove the facts of the adultery or physical or mental cruelty.</p> | |||
| <p>At this point in time you will need to complete your application for divorce using the | |||
| <a href="http://www.ag.gov.bc.ca/courts/other/supreme/2010SupRules/info/index_family.htm">PDF version of the forms</a>. | |||
| The forms 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">listing of forms</a> | |||
| that may be required for a Joint Divorce can be found on the Legal Services Society web site.</p> | |||
| </div> | |||
| <div> | |||
| <p><em>For example:</em></p> | |||
| <ul> | |||
| <li><em>Your spouse has been physically abusive or mentally cruel to you</em></li> | |||
| <li><em>Your spouse has committed adultery</em></li> | |||
| </ul> | |||
| </div> | |||
| <div class="collapse-trigger collapsed" data-toggle="collapse" aria-expanded="false" data-target="#collapse_which_grounds_select" aria-controls="collapse_which_grounds_select"> | |||
| <div> | |||
| Which grounds should I select since more than one scenario applies to my marriage? | |||
| </div> | |||
| </div> | |||
| <div class="collapse" id="collapse_which_grounds_select"> | |||
| <div> | |||
| <p> | |||
| Most divorces use the one-year separation ground. But you can also apply for a divorce earlier on the basis of adultery or | |||
| physical or mental cruelty. If you ask for a divorce for one of these reasons, you have to present evidence to the court to prove | |||
| the facts of the adultery or physical or mental cruelty. So generally speaking, asking for a divorce based on the grounds of | |||
| having lived separate and apart for more than one year is the least complicated. | |||
| </p> | |||
| <p> | |||
| Canada has no-fault divorce. No-fault, in this context, means that the reasons for marriage breakdown have nothing at all to do | |||
| with the court's consideration of issues like custody and support. So even though you may be really upset at your spouse's misbehaviour, | |||
| it will have no impact on how the legal issues are addressed. | |||
| </p> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| <form action="{% url 'login' %}"> | |||
| <input type="submit" value="Next"/> | |||
| </form> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| </div> | |||
| {% endblock %} | |||
| {% block sidebarText %} | |||
| <h3>Grounds for Divorce</h3> | |||
| <p>Canada has no-fault divorce. The only ground for a divorce in the Divorce Act is marriage breakdown. The Divorce Act says you can show your marriage has broken down if any ONE of the following criteria applies to you:</p> | |||
| <p>You have been living apart for one year or more. Your spouse has been physically or mentally cruel to you.</p> | |||
| <p>Your spouse has committed adultery. If you apply for a divorce on the basis of a one-year separation, you can live together for up to 90 days | |||
| (either before or after you file the application) to try to reconcile. If things do not work out, you can continue your action for divorce as if you had not spent the time together.</p> | |||
| <p>Some couples choose to separate but still live in the same house. A lawyer can tell you what factors courts may consider when they are deciding if you are separated.</p> | |||
| <div> | |||
| <p>You can also get a divorce if:</p> | |||
| <ul> | |||
| <li>you or your spouse has committed adultery (been unfaithful) that hasn't been forgiven, or</li> | |||
| <li>your spouse treated you with physical or mental cruelty that you haven't forgiven, which makes it impossible for you to continue to live together.</li> | |||
| </ul> | |||
| <p>To get a divorce for these reasons you have to prove these things in court.</p> | |||
| <p>The majority of divorces are uncontested or undefended divorces (about 80 percent). That means that the | |||
| divorcing couple have settled on how they're going to settle their parenting, support, and property | |||
| issues. But they still need a court order for the divorce.</p> | |||
| </div> | |||
| {% endblock %} | |||
| @ -1,16 +1,21 @@ | |||
| from django.conf.urls import url | |||
| from . import views | |||
| from .views import main, system, styleguide, pdf, api, localdev | |||
| urlpatterns = [ | |||
| url(r'^f/(?P<path>.*)', views.serve), | |||
| url(r'^preview/(?P<form>.*)', views.preview), | |||
| url(r'^(?P<form>.*)/(?P<step>.*)', views.form), | |||
| url(r'^dashboard', views.dashboard), | |||
| url(r'^login', views.login), | |||
| url(r'^logout', views.logout), | |||
| url(r'^overview', views.overview), | |||
| url(r'^prequalification', views.prequalification), | |||
| url(r'^', views.index), | |||
| url(r'^health$', views.health), | |||
| url(r'^f/(?P<path>.*)', main.serve), | |||
| url(r'^preview/(?P<form>.*)', main.preview), | |||
| url(r'^prequalification/step_(?P<step>[0-9]{2})$', main.prequalification, name="prequalification"), | |||
| url(r'^api/response$', api.UserResponseHandler.as_view()), | |||
| url(r'^dashboard', main.dashboard), | |||
| url(r'^login', main.login, name="login"), | |||
| url(r'^bceid', localdev.bceid, name="bceid"), | |||
| url(r'^logout', main.logout, name="logout"), | |||
| url(r'^overview', main.overview, name="overview"), | |||
| url(r'^intro', main.intro, name="intro"), | |||
| url(r'^health$', system.health), | |||
| url(r'^(?P<form>.*)/(?P<step>.*)', main.form, name="form_steps"), | |||
| url(r'^', main.index, name="index"), | |||
| ] | |||
| @ -0,0 +1,26 @@ | |||
| """ | |||
| Mapping between questions and steps | |||
| Usage: For each step title, list all questions_keys belong to that step | |||
| """ | |||
| question_step_mapping = {'prequalification': ['married_marriage_like', 'lived_in_bc', 'lived_in_bc_at_least_year', 'separation_date', | |||
| 'children_of_marriage', 'any_under_19', 'children_financial_support', 'original_marriage_certificate', | |||
| 'provide_certificate_later', 'provide_certificate_later_reason', 'not_provide_certificate_reason', | |||
| 'divorce_reason', 'marriage_certificate_in_english', 'try_reconcile_after_separated'], | |||
| 'which_orders': ['want_which_orders',], | |||
| 'your_information': ['name_you', 'any_other_name_you', 'other_name_you', 'last_name_born_you', | |||
| 'last_name_before_married_you', 'birthday_you', 'lived_in_bc_you', 'moved_to_bc_date_you',], | |||
| 'your_spouse': ['name_spouse', 'any_other_name_spouse', 'other_name_spouse', 'last_name_born_spouse', | |||
| 'last_name_before_married_spouse', 'birthday_spouse', 'lived_in_bc_spouse', 'moved_to_bc_date_spouse',], | |||
| 'your_marriage': ['when_were_you_married', 'where_were_you_married_city', 'where_were_you_married_prov', | |||
| 'where_were_you_married_country', 'where_were_you_married_other_country', 'marital_status_before_you', | |||
| 'marital_status_before_spouse',], | |||
| 'your_separation': ['no_reconciliation_possible', 'no_collusion',], | |||
| 'spousal_support': ['spouse_support_details', 'spouse_support_act'], | |||
| 'property_and_debt': ['deal_with_property_debt'], | |||
| 'other_orders': [], | |||
| 'other_questions': [], | |||
| 'filing_locations': ['address_to_send_official_document_street', 'address_to_send_official_document_city', | |||
| 'address_to_send_official_document_prov', 'address_to_send_official_document_country', | |||
| 'address_to_send_official_document_other_country', 'address_to_send_official_document_fax', | |||
| 'address_to_send_official_document_email', 'court_registry_for_filing',], | |||
| } | |||
| @ -0,0 +1,61 @@ | |||
| from edivorce.apps.core.models import UserResponse, Question | |||
| from edivorce.apps.core.utils.question_step_mapping import question_step_mapping | |||
| def get_responses_from_db(bceid_user): | |||
| responses = UserResponse.objects.filter(bceid_user=bceid_user) | |||
| responses_dict = {} | |||
| for answer in responses: | |||
| responses_dict[answer.question.key] = answer.value | |||
| return responses_dict | |||
| def get_responses_from_db_grouped_by_steps(bceid_user): | |||
| """ Group questions and responses by steps they belong to """ | |||
| responses = UserResponse.objects.filter(bceid_user=bceid_user) | |||
| responses_dict = {} | |||
| for step, questions in question_step_mapping.items(): | |||
| responses_dict[step] = responses.filter(question_id__in=questions) | |||
| return responses_dict | |||
| def get_responses_from_session(request): | |||
| return sorted(request.session.items()) | |||
| def save_to_db(serializer, question, value, bceid_user): | |||
| """ Saves form responses to the database """ | |||
| data = {'bceid_user': bceid_user, | |||
| 'question': question, | |||
| 'value': value} | |||
| try: | |||
| instance = UserResponse.objects.get(bceid_user=bceid_user, question=question) | |||
| serializer.update(instance=instance, validated_data=data) | |||
| except UserResponse.DoesNotExist: | |||
| serializer.create(validated_data=data) | |||
| def save_to_session(request, question, value): | |||
| """ Saves prequalifying responses to the user's session """ | |||
| request.session[question.pk] = value | |||
| def copy_session_to_db(request, bceid_user): | |||
| """ Copies responses to pre-qualification questions from the user's session to the db """ | |||
| questions = Question.objects.all() | |||
| for q in questions: | |||
| if request.session.get(q.key) is not None: | |||
| # copy the response to the database | |||
| if UserResponse.objects.filter(bceid_user=bceid_user, question=q).exists(): | |||
| UserResponse.objects.update(bceid_user=bceid_user, | |||
| question=q, | |||
| value=request.session.get(q.key)) | |||
| else: | |||
| UserResponse.objects.create(bceid_user=bceid_user, | |||
| question=q, | |||
| value=request.session.get(q.key)) | |||
| # clear the response from the session | |||
| request.session[q.key] = None | |||
| @ -1,56 +0,0 @@ | |||
| from django.http import HttpResponse | |||
| from django.shortcuts import render | |||
| from edivorce.apps.core.models import Profile | |||
| def serve(request, path): | |||
| if path[0:2] == 'f/': | |||
| path = path[2:0] | |||
| if (len(path) > 4 and path[-5:] != '.html') or len(path) == 0: | |||
| path += '/index.html' | |||
| if path[:1] == '/': | |||
| path = path[1:] | |||
| return render(request, path) | |||
| def preview(request, form): | |||
| """ | |||
| View showing template preview of rendered form | |||
| """ | |||
| return render(request, 'preview/%s.html' % form) | |||
| def login(request): | |||
| return render(request, 'login.html') | |||
| def logout(request): | |||
| return render(request, 'logout.html') | |||
| def form(request, form, step): | |||
| """ | |||
| View rendering form/step combo | |||
| """ | |||
| return render(request, '%s/%s.html' % (form, step)) | |||
| def dashboard(request): | |||
| return render(request, 'dashboard.html') | |||
| def overview(request): | |||
| return render(request, 'overview.html') | |||
| def prequalification(request): | |||
| return render(request, 'prequalification.html') | |||
| def index(request): | |||
| return render(request, 'index.html') | |||
| def health(request): | |||
| return HttpResponse(Profile.objects.count()) | |||
| @ -0,0 +1,25 @@ | |||
| from rest_framework import status | |||
| from rest_framework.views import APIView | |||
| from rest_framework.response import Response | |||
| from edivorce.apps.core.utils.user_response import save_to_session, save_to_db | |||
| from ..models import Question, BceidUser | |||
| from ..serializer import UserResponseSerializer | |||
| class UserResponseHandler(APIView): | |||
| def post(self, request): | |||
| serializer = UserResponseSerializer(data=request.data) | |||
| try: | |||
| question = Question.objects.get(pk=request.data['question']) | |||
| value = request.data['value'] | |||
| if request.bceid_user.is_authenticated: | |||
| user = BceidUser.objects.get(user_guid=request.bceid_user.guid) | |||
| save_to_db(serializer, question, value, user) | |||
| else: | |||
| save_to_session(request, question, value) | |||
| except Question.DoesNotExist: | |||
| return Response(data="Question: '%s' does not exist" % request.data['question'], status=status.HTTP_400_BAD_REQUEST) | |||
| return Response(status=status.HTTP_200_OK) | |||
| @ -0,0 +1,100 @@ | |||
| from django.conf import settings | |||
| from django.shortcuts import render, redirect | |||
| from django.utils import timezone | |||
| from ..decorators import bceid_required | |||
| from ..models import BceidUser | |||
| from ..utils.user_response import get_responses_from_db, get_responses_from_db_grouped_by_steps, get_responses_from_session, copy_session_to_db | |||
| @bceid_required | |||
| def serve(request, path): | |||
| if path[0:2] == 'f/': | |||
| path = path[2:0] | |||
| if (len(path) > 4 and path[-5:] != '.html') or len(path) == 0: | |||
| path += '/index.html' | |||
| if path[:1] == '/': | |||
| path = path[1:] | |||
| return render(request, path) | |||
| def intro(request): | |||
| return render(request, 'intro.html', context={'hide_nav': True}) | |||
| @bceid_required | |||
| def preview(request, form): | |||
| """ | |||
| View showing template preview of rendered form | |||
| """ | |||
| return render(request, 'preview/%s.html' % form) | |||
| def login(request): | |||
| if not request.session.get('fake-bceid-guid'): | |||
| return redirect(settings.FORCE_SCRIPT_NAME + '/bceid') | |||
| else: | |||
| guid = request.bceid_user.guid | |||
| user, created = BceidUser.objects.get_or_create(user_guid=guid) | |||
| user.last_login = timezone.now() | |||
| user.save() | |||
| copy_session_to_db(request, user) | |||
| return redirect(settings.FORCE_SCRIPT_NAME + '/overview') | |||
| def logout(request): | |||
| request.session.flush() | |||
| return redirect(settings.FORCE_SCRIPT_NAME + '/intro') | |||
| @bceid_required | |||
| def form(request, form, step): | |||
| """ | |||
| View rendering form/step combo | |||
| """ | |||
| template = '%s/%s.html' % (form, step) | |||
| user = BceidUser.objects.get(user_guid=request.bceid_user.guid) | |||
| if step == "11_review": | |||
| responses_dict = get_responses_from_db_grouped_by_steps(user) | |||
| else: | |||
| responses_dict = get_responses_from_db(user) | |||
| return render(request, template_name=template, context=responses_dict) | |||
| @bceid_required | |||
| def dashboard(request): | |||
| return render(request, 'dashboard.html') | |||
| @bceid_required | |||
| def overview(request): | |||
| user = BceidUser.objects.get(user_guid=request.bceid_user.guid) | |||
| responses_dict = get_responses_from_db_grouped_by_steps(user) | |||
| # To Show whether user has started to respond questions in each step | |||
| started_dict = {} | |||
| for step, lst in responses_dict.items(): | |||
| if not lst: | |||
| started_dict[step] = "Not started" | |||
| else: | |||
| started_dict[step] = "Started" | |||
| return render(request, 'overview.html', context=started_dict) | |||
| def prequalification(request, step): | |||
| template = 'prequalification/step_%s.html' % step | |||
| if not request.bceid_user.is_authenticated: | |||
| responses_dict = get_responses_from_session(request) | |||
| else: | |||
| user = BceidUser.objects.get(user_guid=request.bceid_user.guid) | |||
| responses_dict = get_responses_from_db(user) | |||
| return render(request, template_name=template, context=responses_dict) | |||
| def index(request): | |||
| return render(request, 'index.html') | |||