fix: add randomly missing action for form

This commit is contained in:
Ben Hong 2022-02-23 08:47:19 -08:00
parent f2f4966c24
commit be902ad91f

View File

@ -1,13 +1,9 @@
<template>
<div class="feedback-form">
<form
netlify
netlify-honeypot
method="post"
>
<form netlify netlify-honeypot method="post" action="/feedback">
<p class="hidden">
<label>
Dont fill this out if youre human: <input name="bot-field" />
Dont fill this out if youre human: <input name="bot-field" />
</label>
</p>
<input type="hidden" name="form-name" value="feedback" />
@ -44,12 +40,12 @@ button {
}
.hidden {
clip: rect(0 0 0 0);
clip: rect(0 0 0 0);
clip-path: inset(50%);
height: 1px;
overflow: hidden;
position: absolute;
white-space: nowrap;
white-space: nowrap;
width: 1px;
}
</style>