Skip to content

Commit

Permalink
Updated links to templates based on v5.2 change
Browse files Browse the repository at this point in the history
  • Loading branch information
vickytnz committed Dec 13, 2024
1 parent bcb8f0f commit 9fa9b61
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion app/views/how-tos/build-basic-prototype/branching.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ <h2 id="create-an-ineligible-page">Create an ineligible page</h2>
Make an
<code class="language-markup">{{exampleIneligible.url}}.html</code> page
by copying <code class="language-markup">content-page.html</code> from
<code class="language-markup">docs/views/templates</code> to
<code class="language-markup">lib/example-templates</code> to
<code class="language-markup">app/views</code>.
</p>
</li>
Expand Down
8 changes: 4 additions & 4 deletions app/views/how-tos/build-basic-prototype/create-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<h3 id="create-a-start-page">Create a start page</h3>
<p>
Copy the <code class="language-markup">{{exampleStart.url}}.html</code> file
from <code class="language-markup">docs/views/templates</code> to
from <code class="language-markup">lib/example-templates</code> to
<code class="language-markup">app/views</code>.
</p>
<p>
Expand Down Expand Up @@ -52,7 +52,7 @@ <h3 id="question-pages">Question pages</h3>
<p>
Make 2 copies of the
<code class="language-markup">question-page.html</code> file from
<code class="language-markup">docs/views/templates</code> to
<code class="language-markup">lib/example-templates</code> to
<code class="language-markup">app/views</code>.
</p>
<p>Rename the 2 file copies to:</p>
Expand Down Expand Up @@ -91,7 +91,7 @@ <h3 id="{{exampleCheckAnswers.url}}-page">Check answers page</h3>
<p>
Copy the
<code class="language-markup">{{exampleCheckAnswers.url}}.html</code> file
from <code class="language-markup">docs/views/templates</code> to
from <code class="language-markup">lib/example-templates</code> to
<code class="language-markup">app/views</code>.
</p>
<p>
Expand All @@ -106,7 +106,7 @@ <h3 id="confirmation-page">Confirmation page</h3>
<p>
Copy the
<code class="language-markup">{{exampleConfirmation.url}}.html</code> file
from <code class="language-markup">docs/views/templates</code> to
from <code class="language-markup">lib/example-templates</code> to
<code class="language-markup">app/views</code>.
</p>
<p>
Expand Down
2 changes: 1 addition & 1 deletion app/views/how-tos/build-basic-prototype/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<li>show a confirmation page</li>
</ul>
<p>
It will take about an hour to finish this tutorial, after you install the prototype kit.
It will take about an hour to finish this tutorial, after you install the prototype kit.
</p>

<p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ <h2 class="nhsuk-heading-m">Overview of folders in the prototype kit</h2>
<code class="language-markup">routes.js</code> is for advanced logic – for
example, if a user should go to one page or another based on their answers (we'll cover this later)
</li>
<li>
<code class="language-markup">/docs/views/templates</code> has template
pages for you to copy into your prototype
</li>
</ul>

{% endblock %}
2 changes: 1 addition & 1 deletion app/views/page-templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<h1 class="nhsuk-heading-xl">Page templates</h1>

<p>You can find some example templates for pages in the <strong>/docs/views/templates</strong> folder within your prototype. These include:</p>
<p>You can find some example templates for pages in the <strong>/lib/example-templates</strong> folder within your prototype. These include:</p>

<ul>
<li>content pages</li>
Expand Down

0 comments on commit 9fa9b61

Please sign in to comment.