-
Notifications
You must be signed in to change notification settings - Fork 236
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
Add template pages for content and questions #369
Conversation
for prototyping, I'd use |
@joelanman could we look at the javascript back as a separate PR? Other pages in the kit do it manually, and would be better to tackle in one go. |
I think the examples are in rough order of where they appear in a transaction, so maybe Content page and Question pages should come just after Task list? |
Heading goes here | ||
</h1> | ||
|
||
<p>This is the a paragraph of text. It explains in more detail what has happened and wraps across several lines.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo - the a
|
||
<p>[Insert question content here]</p> | ||
|
||
<p>[See <a href="http://govuk-elements.herokuapp.com/form-elements/">GOV.UK Elements</a> for examples]</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to https
41fafef
to
ff7aef4
Compare
ff7aef4
to
6435b0a
Compare
Looks good, thanks! |
Add two new template pages to the kit.
For links (back links, action urls, etc), I've gone with
href="/url/of/previous/page"
. Does this seem correct?Using POSTs
These templates work with #340 and start moving us towards using POSTs. That PR should probably get merged first.
Template content page
A basic content page - useful for things like:
Looks like:
Template question page blank
A basic question page, containing:
Will be useful for people grabbing snippets from Elements.
Looks like: