Skip to content

Commit

Permalink
Add start pages to sample funds
Browse files Browse the repository at this point in the history
  • Loading branch information
albertkol committed Feb 13, 2025
1 parent 8ff39af commit 172f125
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 6 deletions.
24 changes: 21 additions & 3 deletions fsd_config/form_jsons/sf_r1/organisation-name-sample.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"startPage": "/organisation-name",
"startPage": "/organisation-information",
"pages": [
{
"path": "/summary",
Expand All @@ -9,6 +9,25 @@
"section": "FabDefault",
"controller": "./pages/summary.js"
},
{
"title": "Organisation information",
"path": "/organisation-information",
"components": [
{
"name": "orUXQc",
"options": {},
"type": "Para",
"content": "<label class=\"govuk-!-font-weight-bold\">In this section, we'll ask about:\n</label>\n\n<div class=\"govuk-body\">\n<ul class=\"govuk-list govuk-list--bullet\">\n<li>organisation name</li>\n<li>alternative names of your organisation (if applicable)</li>\n</ul>\n</div>",
"schema": {}
}
],
"next": [
{
"path": "/organisation-name"
}
],
"controller": "./pages/start.js"
},
{
"path": "/organisation-name",
"title": "Organisation name",
Expand Down Expand Up @@ -44,8 +63,7 @@
"condition": "lgQzEs"
}
],
"section": "FabDefault",
"controller": "start.js"
"section": "FabDefault"
},
{
"path": "/alternative-organisation-names",
Expand Down
24 changes: 21 additions & 3 deletions fsd_config/form_jsons/sf_r1/project-name-sample.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"startPage": "/project-name",
"startPage": "/project-details",
"pages": [
{
"path": "/summary",
Expand All @@ -9,6 +9,25 @@
"section": "FabDefault",
"controller": "./pages/summary.js"
},
{
"title": "Project details",
"path": "/project-details",
"components": [
{
"name": "orUXQc",
"options": {},
"type": "Para",
"content": "<label class=\"govuk-!-font-weight-bold\">In this section, we'll ask about:\n</label>\n\n<div class=\"govuk-body\">\n<ul class=\"govuk-list govuk-list--bullet\">\n<li>project name</li>\n<li>project overview</li>\n</ul>\n</div>",
"schema": {}
}
],
"next": [
{
"path": "/project-name"
}
],
"controller": "./pages/start.js"
},
{
"path": "/project-overview",
"title": "Project overview",
Expand Down Expand Up @@ -47,8 +66,7 @@
"path": "/project-overview"
}
],
"section": "FabDefault",
"controller": "start.js"
"section": "FabDefault"
}
],
"lists": [],
Expand Down

0 comments on commit 172f125

Please sign in to comment.