diff --git a/app/views/examples/notification-banner-and-error-summary/index.njk b/app/views/examples/notification-banner-and-error-summary/index.njk new file mode 100644 index 0000000000..3dea1727cb --- /dev/null +++ b/app/views/examples/notification-banner-and-error-summary/index.njk @@ -0,0 +1,29 @@ +{% extends "_generic.njk" %} + +{% from "error-summary/macro.njk" import govukErrorSummary %} +{% from "notification-banner/macro.njk" import govukNotificationBanner %} + +{% set pageTitle = "Notification banner and error summary" %} +{% block pageTitle %}{{ "Error: " if errors }}{{ pageTitle }} - GOV.UK{% endblock %} + +{% block header %} + {% include "../../partials/banner.njk" %} + {{ govukHeader({}) }} +{% endblock %} + +{% block content %} +
Please note that it's not recommended to have multiple banners of the same type on the page. This page is an example for testing purposes.
+These paragraphs make the page taller so that we can test the scrolling behaviour.
+ +These paragraphs make the page taller so that we can test the scrolling behaviour.
+ +These paragraphs make the page taller so that we can test the scrolling behaviour.
+ +These paragraphs make the page taller so that we can test the scrolling behaviour.
+ +These paragraphs make the page taller so that we can test the scrolling behaviour.
+