2020-05-14 14:58:22 +02:00
< div id = "reply-message" > < / div >
< div >
< fieldset >
< legend > Please fill in the form to submit your request< / legend >
< form action = "https://contact-request-endpoint/" method = "post" >
2020-06-02 15:29:23 +02:00
<!-- uncomment this div block when enabling reCaptcha
< script src = "https://www.google.com/recaptcha/api.js" > < / script >
-->
2020-05-14 14:58:22 +02:00
< div class = "form-item" >
< label for = "name" > Name< / label >
< input type = "text" name = "name" id = "name" placeholder = "Mr. Smith" / >
< / div >
< div class = "form-item" >
< label for = "email" > Email < span class = "req" > < / span > < / label >
< input type = "text" name = "email" id = "email" class = "required email" placeholder = "smith@company.com" / >
< / div >
< div class = "form-item" >
< label for = "organization" > Organization< / label >
< input type = "text" name = "organization" id = "organization" placeholder = "Company, Inc." / >
< / div >
2020-06-02 15:29:23 +02:00
{{ if in .Params.tags "contact" }}
2020-05-14 14:58:22 +02:00
< div class = "form-item" >
< label for = "subject" > Subject< / label >
< input type = "text" name = "subject" id = "subject" value = "" placeholder = "Need help or expertise?" / >
< input type = "hidden" name = "target" id = "target" value = "contact" / >
2021-10-26 20:14:24 +02:00
<!-- Leave blank or set the value of this field is set with valid URL. If set, the backend service will use the value as redirect URL once the form submitted. -->
< input class = "form-input" type = "hidden" name = "requestOrigin" id = "requestOrigin" value = "" / >
2020-05-14 14:58:22 +02:00
< / div >
< div class = "form-item" >
< label for = "message" > Message< / label >
< textarea rows = "6" name = "message" id = "message" placeholder = "Please add details concerning your request." > < / textarea >
< / div >
2020-06-02 15:29:23 +02:00
{{ else }}
2020-05-14 14:58:22 +02:00
< div class = "form-item" >
< input type = "hidden" name = "subject" id = "subject" value = "Your Access to Product Demo!" / >
< input type = "hidden" name = "target" id = "target" value = "demo" / >
< / div >
{{ end }}
2020-06-02 15:29:23 +02:00
<!-- uncomment the below div when enabling reCaptcha
< div class = "g-recaptcha" data-sitekey = "{{.Site.Params.reCaptchaPrivateKey}}" > < / div >
-->
2020-05-14 14:58:22 +02:00
< input class = "button" type = "submit" value = "Submit" >
< / form >
< / fieldset >
< / div >