-
Notifications
You must be signed in to change notification settings - Fork 16
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 #2950 from DFE-Digital/fe-eligible
[LUPEYALPHA-557] Add eligible page to FE journey
- Loading branch information
Showing
8 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
app/forms/journeys/further_education_payments/check_your_answers_form.rb
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,9 @@ | ||
module Journeys | ||
module FurtherEducationPayments | ||
class CheckYourAnswersForm < Form | ||
def save | ||
true | ||
end | ||
end | ||
end | ||
end |
9 changes: 9 additions & 0 deletions
9
app/forms/journeys/further_education_payments/eligible_form.rb
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,9 @@ | ||
module Journeys | ||
module FurtherEducationPayments | ||
class EligibleForm < Form | ||
def save | ||
true | ||
end | ||
end | ||
end | ||
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
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 |
---|---|---|
|
@@ -18,6 +18,7 @@ class SlugSequence | |
|
||
RESULTS_SLUGS = %w[ | ||
check-your-answers | ||
eligible | ||
ineligible | ||
].freeze | ||
|
||
|
4 changes: 4 additions & 0 deletions
4
app/views/further_education_payments/claims/check_your_answers.html.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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<p class="govuk-body"> | ||
FE check your answers goes here | ||
</p> | ||
|
||
<%= form_with model: @form, url: claim_path(current_journey_routing_name), method: :patch, builder: GOVUKDesignSystemFormBuilder::FormBuilder, html: { novalidate: false } do |f| %> | ||
<%= f.govuk_submit %> | ||
<% end %> |
26 changes: 26 additions & 0 deletions
26
app/views/further_education_payments/claims/eligible.html.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,26 @@ | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-two-thirds"> | ||
<%= form_with model: @form, url: claim_path(current_journey_routing_name), method: :patch, builder: GOVUKDesignSystemFormBuilder::FormBuilder, html: { novalidate: false } do |f| %> | ||
<%= govuk_panel( | ||
title_text: "You’re eligible for a financial incentive payment", | ||
html_attributes: { | ||
class: "govuk-panel--informational" | ||
} | ||
) %> | ||
|
||
<div class="govuk-heading-m"> | ||
Based on what you’ve told us, you can apply for an early career further education financial incentive payment of: | ||
</div> | ||
|
||
<div class="govuk-heading-l"> | ||
£??? | ||
</div> | ||
|
||
<div class="govuk-body"> | ||
For more information about why you are eligible, read about the <%= govuk_link_to "levelling up premium payments for early career further education teachers", "https://www.gov.uk/guidance/levelling-up-premium-payments-for-fe-teachers", new_tab: true %>. | ||
</div> | ||
|
||
<%= f.govuk_submit "Apply now" %> | ||
<% end %> | ||
</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