-
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.
FS-4927 - Add intermediary page 'Select a Fund' before 'Create a Round'
- Loading branch information
Showing
5 changed files
with
124 additions
and
61 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{% extends "base.html" %} | ||
{% from "govuk_frontend_jinja/components/button/macro.html" import govukButton %} | ||
{% from "govuk_frontend_jinja/components/select/macro.html" import govukSelect %} | ||
|
||
{% block content %} | ||
<div class="govuk-grid-row"> | ||
<div class="govuk-grid-column-full"> | ||
<h1 class="govuk-heading-l">Select a fund</h1> | ||
<p class="govuk-body">Select or add a new fund for this application</p> | ||
|
||
<form method="POST"> | ||
{{ govukSelect({ | ||
"id": "fund_id", | ||
"name": "fund_id", | ||
"items": fund_dropdown_items, | ||
"label": "", | ||
"attributes": { | ||
"required": "required" | ||
}, | ||
"classes": "govuk-!-width-one-half", | ||
"formGroup": { | ||
"classes": "govuk-!-margin-bottom-3" | ||
} | ||
}) }} | ||
|
||
<p class="govuk-body govuk-!-margin-top-1 govuk-!-margin-bottom-6"> | ||
<a href="{{ url_for('fund_bp.fund') }}" class="govuk-link">Add a new fund</a> | ||
</p> | ||
|
||
<div class="govuk-button-group"> | ||
{{ govukButton({ | ||
"text": "Continue", | ||
"type": "submit" | ||
}) }} | ||
{{ govukButton({ | ||
"text": "Cancel", | ||
"href": url_for("index_bp.dashboard"), | ||
"classes": "govuk-button--secondary" | ||
}) }} | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
{% endblock content %} |
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