forked from OpenAdaptAI/OpenAdapt.web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFeedbackForm.js
51 lines (47 loc) · 1.45 KB
/
FeedbackForm.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import styles from './FeedbackForm.module.css'
export default function FeedbackForm() {
return (
<form
className={styles.form}
data-netlify="true"
data-netlify-honeypot="bot-field"
name="feedback"
method="POST"
action="/success"
>
<input type="hidden" name="form-name" value="feedback" />
<p className={styles.hidden}>
<label>
Don’t fill this out if you’re human:{' '}
<input name="bot-field" />
</label>
</p>
<label htmlFor="name">Name</label>
<input
id="name"
className={styles['form-field']}
type="text"
name="name"
/>
<label htmlFor="email">Email</label>
<input
id="email"
className={styles['form-field']}
type="email"
name="email"
required
/>
<label htmlFor="feedback">What is your feedback?</label>
<textarea
id="feedback"
className={styles['form-field']}
wrap="soft"
name="feedback"
required
></textarea>
<button className={styles.button} type="submit">
Submit
</button>
</form>
)
}