Skip to content

Commit

Permalink
Updated the forms code
Browse files Browse the repository at this point in the history
  • Loading branch information
teshukatepalli1 committed Sep 14, 2023
1 parent 0103dc9 commit fc4ec3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion blocks/forms/forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { createOptimizedPicture } from '../../scripts/lib-franklin.js';

export default function decorate(block) {
console.log(block);
const element = createElement('div');
const element = document.createElement('div');
element.innerHTML = `
<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script>
<script>
Expand All @@ -12,6 +12,7 @@ export default function decorate(block) {
formId: "828820d8-9902-4b4e-8ff4-169076195288"
});
</script>`;
block.append(element);
// const ul = document.createElement('ul');
// [...block.children].forEach((row) => {
// const li = document.createElement('li');
Expand Down

0 comments on commit fc4ec3e

Please sign in to comment.