-
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 #2151 from alphagov/convert-state-pension-topup-to…
…-use-erb-templates-for-questions Convert state-pension-topup to use ERB templates for questions
- Loading branch information
Showing
10 changed files
with
50 additions
and
25 deletions.
There are no files selected for viewing
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
11 changes: 11 additions & 0 deletions
11
lib/smart_answer_flows/state-pension-topup/questions/date_of_lump_sum_payment.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 %> | ||
When will you pay your lump sum? | ||
<% end %> | ||
|
||
<% content_for :hint do %> | ||
This must be between 12 October 2015 and 5 April 2017. | ||
<% end %> | ||
|
||
<% content_for :error_message do %> | ||
Enter a date between 12 October 2015 and 5 April 2017. | ||
<% end %> |
7 changes: 7 additions & 0 deletions
7
lib/smart_answer_flows/state-pension-topup/questions/dob_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,7 @@ | ||
<% content_for :title do %> | ||
What is your date of birth? | ||
<% end %> | ||
|
||
<% content_for :error_message do %> | ||
Enter your date of birth. | ||
<% end %> |
8 changes: 8 additions & 0 deletions
8
lib/smart_answer_flows/state-pension-topup/questions/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 %> | ||
What is your gender? | ||
<% end %> | ||
|
||
<% options( | ||
"male": "Male", | ||
"female": "Female" | ||
) %> |
11 changes: 11 additions & 0 deletions
11
lib/smart_answer_flows/state-pension-topup/questions/how_much_extra_per_week.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 %> | ||
How much extra State Pension would you like to get per week? | ||
<% end %> | ||
|
||
<% content_for :hint do %> | ||
Enter a number between 1 and 25. | ||
<% end %> | ||
|
||
<% content_for :error_message do %> | ||
Enter an amount in whole pounds between 1 and 25. | ||
<% end %> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,6 +38,7 @@ <h2> | |
|
||
|
||
|
||
|
||
<div class=""> | ||
|
||
<fieldset> | ||
|
@@ -229,6 +230,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