Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated links to templates based on v5.2 change #183

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 %}
4 changes: 3 additions & 1 deletion app/views/page-templates.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@

<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 (or /docs/templates in older versions of the kit).</p>

<p>These include:</p>

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