-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Eligibility button text and color updated - Show either Continue button to take the user to the fund round page to view existing applications if they have existing applications otherwise show a "Start a new application" button that redirects them to the eligibility form
- Loading branch information
1 parent
4b90500
commit 02eb485
Showing
6 changed files
with
49 additions
and
8 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
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
14 changes: 14 additions & 0 deletions
14
authenticator/frontend/templates/authenticator/partials/eligibility-check-button.html
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,14 @@ | ||
{%- from "govuk_frontend_jinja/components/button/macro.html" import govukButton -%} | ||
|
||
{% macro eligibilityCheckButton(form, url, fund_id, round_id) %} | ||
<form method="post" action="{{ url }}" > | ||
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}"> | ||
<input type="hidden" name="account_id" value="{{ account_id }}"> | ||
<input type="hidden" name="fund_id" value="{{ fund_id }}"> | ||
<input type="hidden" name="round_id" value="{{ round_id }}"> | ||
|
||
{{ govukButton({ | ||
'text': gettext('Start a new application') | ||
}) }} | ||
</form> | ||
{% endmacro %} |
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