Skip to content

Commit

Permalink
set form using html
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccar committed Dec 7, 2023
1 parent a96779c commit f42b327
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/layout/_template.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const FULL_EXAMPLE = `
"lang": "en-US",
"url": "/some-url-us"
}
]
},
"social": {
Expand Down Expand Up @@ -292,21 +291,22 @@ const FULL_EXAMPLE = `
"OGLLink": true
}
} %}
{% set form = {
"classes": "form-class",
"method": "POST",
"attributes": {
"autocomplete": "off",
"novalidate": "null"
}
} %}
{% block bodyStart %}
<form class="form-class" method="POST" autocomplete="off" novalidate>
{% endblock %}
{% block main %}
<h1>Page Title</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.</p>
<p>Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
{% endblock %}
{% block bodyEnd %}
</form>
{% endblock %}
{% block head %}Some head content{% endblock %}
{% block bodyStart %}Some bodyStart content{% endblock %}
{% block preHeader %}Some preHeader content{% endblock %}
Expand Down

0 comments on commit f42b327

Please sign in to comment.