Skip to content

Commit 8c74d25

Browse files
author
Vivek Vishal
authored
checkbox for sub
Signed-off-by: GitHub <[email protected]>
1 parent fb76bee commit 8c74d25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/components/CommonForm/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,14 @@ const CommonForm = ({ form, title, submit_title, submit_body, submit_button_titl
196196
Message <span className="required-sign">*</span>
197197
</label>
198198
<Field as="textarea" required rows="8" type="text" className="text-field" id="message" name="message" />
199+
<label>
200+
<Field
201+
type="checkbox"
202+
name="subscribed"
203+
className="form-check"
204+
/>
205+
<span>Subscribe to our newsletter</span>
206+
</label>
199207
<div>By providing my contact information, I authorize Layer5 to contact me with communications about Layer5's products and services.</div>
200208
</>
201209
)}

0 commit comments

Comments
 (0)