diff --git a/src/patterns/error-validation/examples/errors-proto/index.njk b/src/patterns/error-validation/examples/errors-proto/index.njk index 5a74e30aa0..78670e44f0 100644 --- a/src/patterns/error-validation/examples/errors-proto/index.njk +++ b/src/patterns/error-validation/examples/errors-proto/index.njk @@ -1,7 +1,7 @@ {% extends "./views/layouts/_prototype.njk" %} {% block prototype_body %} -
+
@@ -56,14 +56,12 @@ {% from "components/button/_macro.njk" import onsButton %} {{ onsButton({ - "type": 'button', "text": 'Save and continue', - "classes": 'u-mb-m u-mt-l', - "url": 'errors' + "classes": 'u-mb-m u-mt-l' }) }}
-
+ {% endblock %} diff --git a/src/patterns/error-validation/index.njk b/src/patterns/error-validation/index.njk index 49cc0c9438..fa7e9f2d26 100644 --- a/src/patterns/error-validation/index.njk +++ b/src/patterns/error-validation/index.njk @@ -63,15 +63,7 @@ The prototype provides an example of form validation for missing and invalid inp -{% from "components/button/_macro.njk" import onsButton %} -{{ - onsButton({ - "type": 'button', - "text": 'Launch prototype', - "classes": 'u-mb-m', - "url": '/patterns/error-validation/examples/errors-proto/' - }) -}} +Launch prototype ## Research on this component