-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #369 from alphagov/add_content_question_pages
Add template pages for content and questions
- Loading branch information
Showing
3 changed files
with
81 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block page_title %} | ||
Question page | ||
{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<main id="content" role="main"> | ||
<div class="grid-row"> | ||
<div class="column-two-thirds"> | ||
|
||
<a class="link-back" href="/url/of/previous/page">Back</a> | ||
|
||
<h1 class="heading-large"> | ||
Heading goes here | ||
</h1> | ||
|
||
<p>This is a paragraph of text. It explains in more detail what has happened and wraps across several lines.</p> | ||
|
||
<p>This paragraph has a link to <a href="/url/of/onward/page">find out more about this subject</a>.</p> | ||
|
||
</div> | ||
</div> | ||
</main> | ||
|
||
{% endblock %} |
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,34 @@ | ||
{% extends "layout.html" %} | ||
|
||
{% block page_title %} | ||
Question page | ||
{% endblock %} | ||
|
||
{% block content %} | ||
|
||
<main id="content" role="main"> | ||
<div class="grid-row"> | ||
<div class="column-two-thirds"> | ||
|
||
<a class="link-back" href="/url/of/previous/page">Back</a> | ||
|
||
<h1 class="heading-large">Heading or question goes here | ||
</h1> | ||
|
||
<form class="form" action="/url/of/next/page" method="post"> | ||
|
||
<p>[Insert question content here]</p> | ||
|
||
<p>[See <a href="https://govuk-elements.herokuapp.com/form-elements/">GOV.UK Elements</a> for examples]</p> | ||
|
||
<div class="form-group"> | ||
<input class="button" type="submit" value="Continue"> | ||
</div> | ||
|
||
</form> | ||
|
||
</div> | ||
</div> | ||
</main> | ||
|
||
{% endblock %} |
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