-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2150 from alphagov/convert-state-pension-through-…
…partner-to-use-erb-templates-for-questions Convert state-pension-through-partner to use ERB templates for questions
- Loading branch information
Showing
11 changed files
with
50 additions
and
34 deletions.
There are no files selected for viewing
32 changes: 0 additions & 32 deletions
32
lib/smart_answer_flows/locales/en/state-pension-through-partner.yml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
...art_answer_flows/state-pension-through-partner/questions/what_is_your_gender.govspeak.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<% content_for :title do %> | ||
Are you: | ||
<% end %> | ||
|
||
<% options( | ||
"male_gender": "a man", | ||
"female_gender": "a woman" | ||
) %> |
11 changes: 11 additions & 0 deletions
11
...er_flows/state-pension-through-partner/questions/what_is_your_marital_status.govspeak.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<% content_for :title do %> | ||
What is your marital status? | ||
<% end %> | ||
|
||
<% options( | ||
"married": "married or in a civil partnership", | ||
"will_marry_before_specific_date": "I’ll be married or in a civil partnership before 5 April 2016", | ||
"will_marry_on_or_after_specific_date": "I’ll be married or in a civil partnership after 6 April 2016", | ||
"widowed": "widowed", | ||
"divorced": "divorced or have dissolved your civil partnership" | ||
) %> |
8 changes: 8 additions & 0 deletions
8
...lows/state-pension-through-partner/questions/when_will_you_reach_pension_age.govspeak.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<% content_for :title do %> | ||
When will you reach State Pension age? | ||
<% end %> | ||
|
||
<% options( | ||
"your_pension_age_before_specific_date": "on or before 5 April 2016", | ||
"your_pension_age_after_specific_date": "on or after 6 April 2016" | ||
) %> |
8 changes: 8 additions & 0 deletions
8
...e-pension-through-partner/questions/when_will_your_partner_reach_pension_age.govspeak.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<% content_for :title do %> | ||
When will your spouse or civil partner reach State Pension age? | ||
<% end %> | ||
|
||
<% options( | ||
"partner_pension_age_before_specific_date": "on or before 5 April 2016", | ||
"partner_pension_age_after_specific_date": "on or after 6 April 2016" | ||
) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ <h2> | |
|
||
|
||
|
||
|
||
<div class=""> | ||
|
||
<ul class="options"> | ||
|
@@ -57,6 +58,7 @@ <h2> | |
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ <h2> | |
|
||
|
||
|
||
|
||
<div class=""> | ||
|
||
<ul class="options"> | ||
|
@@ -57,6 +58,7 @@ <h2> | |
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ <h2> | |
|
||
|
||
|
||
|
||
<div class=""> | ||
|
||
<ul class="options"> | ||
|
@@ -57,6 +58,7 @@ <h2> | |
|
||
|
||
|
||
|
||
</div> | ||
</div> | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters