From 276ecba7769a18a541f22635cf83e76a6a5bcb9f Mon Sep 17 00:00:00 2001 From: ariannedee Date: Tue, 4 Aug 2020 22:30:27 -0700 Subject: [PATCH] Add optional labels --- edivorce/apps/core/templates/partials/optional.html | 1 + edivorce/apps/core/templates/question/02_claimant.html | 4 ++-- edivorce/apps/core/templates/question/03_respondent.html | 4 ++-- edivorce/apps/core/templates/question/04_marriage.html | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) create mode 100644 edivorce/apps/core/templates/partials/optional.html diff --git a/edivorce/apps/core/templates/partials/optional.html b/edivorce/apps/core/templates/partials/optional.html new file mode 100644 index 00000000..88af3281 --- /dev/null +++ b/edivorce/apps/core/templates/partials/optional.html @@ -0,0 +1 @@ +Optional \ No newline at end of file diff --git a/edivorce/apps/core/templates/question/02_claimant.html b/edivorce/apps/core/templates/question/02_claimant.html index d1ab2e6d..a83227d2 100644 --- a/edivorce/apps/core/templates/question/02_claimant.html +++ b/edivorce/apps/core/templates/question/02_claimant.html @@ -95,7 +95,7 @@
-

What was your last name when you were born?

+

What was your last name when you were born?{% include 'partials/optional.html' %}

{% input_field type="text" name="last_name_born_you" class="form-block input-wide response-textbox name" %}
@@ -103,7 +103,7 @@
-

What was your last name immediately before you were married?

+

What was your last name immediately before you were married?{% include 'partials/optional.html' %}

{% input_field type="text" name="last_name_before_married_you" class="form-block input-wide response-textbox name" %} diff --git a/edivorce/apps/core/templates/question/03_respondent.html b/edivorce/apps/core/templates/question/03_respondent.html index 5bff2c23..0d90132a 100644 --- a/edivorce/apps/core/templates/question/03_respondent.html +++ b/edivorce/apps/core/templates/question/03_respondent.html @@ -107,7 +107,7 @@
-

What was their last name when they were born?

+

What was their last name when they were born?{% include "partials/optional.html" %}

{% input_field type="text" name="last_name_born_spouse" class="form-block input-wide response-textbox name" %} @@ -115,7 +115,7 @@
-

What was their last name immediately before you were married?

+

What was their last name immediately before you were married?{% include "partials/optional.html" %}

{% input_field type="text" name="last_name_before_married_spouse" class="form-block input-wide response-textbox name" %} diff --git a/edivorce/apps/core/templates/question/04_marriage.html b/edivorce/apps/core/templates/question/04_marriage.html index f9e9f73d..fa7f61ec 100644 --- a/edivorce/apps/core/templates/question/04_marriage.html +++ b/edivorce/apps/core/templates/question/04_marriage.html @@ -94,7 +94,7 @@

Enter the location as it appears on the marriage certificate (e.g. city, province or state and country)

City{% if where_were_you_married_city_error %}{% include 'partials/required.html' %}{% endif %}

{% input_field type="text" name="where_were_you_married_city" class="form-block input-wide response-textbox" %} -

Prov/State (optional)

+

Prov/State{% include "partials/optional.html" %}

{% input_field type="text" name="where_were_you_married_prov" class="form-block input-narrow response-textbox" %}

Country{% if where_were_you_married_country_error or where_were_you_married_other_country_error %}{% include 'partials/required.html' %}{% endif %}