1
0
Fork 0
docsearch/docs/source/partials/join-form.haml
Lucas Bonomi 05dc793690
Make the form GDPR ready (#329)
<!--
  Thanks for submitting a pull request!
  Please provide enough information so that others can review your pull request.
-->

**Make the docsearch form GDPR compliant**

Needed to be 100% GDPR compliant. 

**Result**
Check the code
2018-05-23 17:33:51 +02:00

47 lines
2.2 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%form.join-form.join-form-fill.gradient-white.pos-rel.z-10.p-xlarge.p-l-xxlarge.p-r-xxlarge.radius6.elevation1.m-l-r-auto
%header.text-center
%h3.color-bunting.text-demi.no-margin.text-lg Get Started. Its FREE!
.spacer32
%label.color-bunting.text-normal{:for => "url"} Website
.input-group
%span.input-group-addon
%i.icon.icon-link.color-bunting
%input.form-control{type: 'text', placeholder: 'https://website.com/doc', name: 'url'}
%p.text-sm.color-east-bay.m-t-small Well crawl the <u>documentation pages</u> of your website and index them on Algolia.
.spacer32
%label.color-bunting.text-normal{:for => "email"} Email
.input-group
%span.input-group-addon
%i.icon.icon-email.color-bunting
%input.form-control{type: 'email', placeholder: 'you@example.org', name: 'email'}
%p.text-sm.color-east-bay.m-t-small Well email you the code you need to integrate the search into your documentation.
.spacer32
%p.checkbox.text-center
%label
%input{type: 'checkbox', name: 'owner'}
%span I'm the <u>owner</u> of that website
.row
.form-group.pos-rel.p-small
%div
%input.fill-titan.pos-rel.p-r-small#marketing_optin{name: "marketing_optin", type: "checkbox", value: 'true'}
%label.text-sm{for: "accept_email", style: "display:inline;margin-left: 8px;letter-spacing: unset;font-weight: 500;text-transform: initial"} Yes, I'd like to receive more information on Algolia products, events and promotions via email
%div
%p
Refer to
%a{href: "https://www.algolia.com/policies/terms", class:"clickable"} Algolia's Privacy Policy
for more information on how we use and protect your data
.text-center
%button.btn.btn-static-primary.w100p{type: 'submit'}
Join the program
%form.join-form.join-form-validated.gradient-white.pos-rel.z-10.p-xlarge.p-l-xxlarge.p-r-xxlarge.radius6.elevation1.m-l-r-auto.hidden
%h3 Thank you !
.spacer20
%p.text-sm
%b
We'll review your request shortly,
after making sure your website is eligible to DocSearch.
%p.text-sm
This is a manual process and can take some time.
%p.text-sm We'll then email you the code you need to integrate on your website
.spacer20