Skip to content

Commit f6d694f

Browse files
committed
add additional input fields
1 parent 2c18c9f commit f6d694f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/partials/feedback-form.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
<div class="feedback-section">
22
<p class="feedback-section-title">Was this page helpful?</p>
33
<form name="feedback-form" action='{{page.url}}' netlify netlify-honeypot="bot-field">
4+
<input name="feedback-page" value='{{page.url}}' hidden/>
45
<div hidden>
56
<label>
67
Don't fill this out if you're human: <input name="bot-field" type="text" />
78
</label>
89
</div>
910
<div class="feedback-form-options">
11+
<input name="feedback-option" hidden/>
1012
<button class="feedback-form-button" type="button" value="page-helpful" aria-label="The page was helpful">Yes</button>
1113
<button class="feedback-form-button" type="button" value="page-not-helpful" aria-label="The page was not helpful">No</button>
1214
</div>

0 commit comments

Comments
 (0)