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