-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Giving candidates the option of allowing other providers to view their application and invite them to apply.
- Loading branch information
1 parent
21604e6
commit b3f9da5
Showing
4 changed files
with
109 additions
and
29 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{% extends "layouts/main.html" %} | ||
{% set primaryNavId = "applications" %} | ||
{% set title = "Increase your chances of success by allowing other providers to invite you to apply" %} | ||
{% set application = data.applications[id] %} | ||
{% set degreeGrade = data.degrees[id]%} | ||
|
||
{% block beforeContent %} | ||
{{ govukBackLink({ | ||
href: "/applications", | ||
text: "Back to your application" | ||
}) }} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-three-quarters"> | ||
<div{% if id %} class="app-grid-column--grey"{% endif %}> | ||
<h3 class="govuk-heading-l">Increase your chances of success by allowing other providers to invite you to apply</h3> | ||
<p class="govuk-body">If this application is unsuccessful, you can allow other providers of similar courses to view your application and if they think you are suitable, invite you to apply.</p> | ||
</div> | ||
|
||
<div class="govuk-button-group"> | ||
<form action="/applications/{{ id }}/candidate-pool" method="post"> | ||
|
||
{{ govukRadios({ | ||
name: "candidatePool", | ||
classes: "govuk-radios--inline", | ||
fieldset: { | ||
legend: { | ||
text: "Do you want to allow other providers to invite you to apply to their courses?", | ||
isPageHeading: true, | ||
classes: "govuk-fieldset__legend--m" | ||
} | ||
}, | ||
items: [ | ||
{ | ||
value: "true", | ||
text: "Yes", | ||
checked: ( data.candidatePool == "true") | ||
}, | ||
{ | ||
value: "false", | ||
text: "No", | ||
checked: ( data.candidatePool == "false") | ||
} | ||
] | ||
}) }} | ||
|
||
{{ govukButton({ | ||
text: ("Continue" if id else "Save") | ||
}) }} | ||
</form> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
{% endblock %} |
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