site/_src/_includes/form-enterprise.html

103 lines
4.3 KiB
HTML
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 id="form-enterprise" class="form form--enterprise js-parsley" action="//formspree.io/{{ site.email.enterprise }}" method="POST" accept-charset="UTF-8">
<div class="grid grid--full grid-small--half">
<div class="grid__col">
<p class="form-group">
<input class="form-control" type="text" id="name_first" name="name_first" required>
<label class="form-label" for="name_first">First Name</label>
</p>
</div>
<div class="grid__col">
<p class="form-group">
<input class="form-control" type="text" id="name_last" name="name_last" required>
<label class="form-label" for="name_last">Last Name</label>
</p>
</div>
<div class="grid__col">
<p class="form-group">
<input class="form-control" type="text" id="company" name="company" required>
<label class="form-label" for="company">Company</label>
</p>
</div>
<div class="grid__col">
<p class="form-group">
<input class="form-control" type="email" id="email" name="_replyto" required>
<label class="form-label" for="email">Email</label>
</p>
</div>
<div class="grid__col">
<p class="form-group">
<input class="form-control" type="tel" id="phone" name="phone" required>
<label class="form-label" for="phone">Phone</label>
</p>
</div>
<div class="grid__col">
<p class="form-group">
<select class="form-control" id="country" name="country" required data-required="true">
<option value="">&nbsp;</option>
{% for country in site.data.countries %}
<option value="{{ country.cca2 }}">{{ country.name.common }}</option>
{% endfor %}
</select>
<label class="form-label" for="country">Country</label>
</p>
</div>
<div class="grid__col">
<p class="form-group">
<select class="form-control" id="industry" name="industry" required data-required="true">
<option value="">&nbsp;</option>
{% for industry in page.contact.industries %}
<option value="{{ industry }}">{{ industry }}</option>
{% endfor %}
</select>
<label class="form-label" for="industry">Industry</label>
</p>
</div>
<div class="grid__col">
<p class="form-group">
<select class="form-control" id="interest" name="interest" required data-required="true">
<option value="">&nbsp;</option>
{% for interest in page.contact.interests %}
<option value="{{ interest }}">{{ interest }}</option>
{% endfor %}
</select>
<label class="form-label" for="interest">Interested in</label>
</p>
</div>
</div>
<p class="form-group">
<textarea class="form-control" id="comment" name="comment" rows="1"></textarea>
<label class="form-label" for="comment">Comments</label>
</p>
<p class="form-group text-dimmed mini">
Fields marked with an <span class="required">*</span> are required.
</p>
<p class="form-group">
<input class="btn btn-primary" type="submit" value="Send">
</p>
<div class="alert alert-success animation-slide-in-from-bottom hide">
<svg class="alert__icon icon icon-success">
<use xlink:href="/assets/img/sprite.svg#icon-success"></use>
</svg>
<p>
<strong class="alert__title">Great to hear youre interested!</strong>
Well get in touch soon.
</p>
</div>
<div class="alert alert-danger hide">
<svg class="alert__icon icon icon-fail">
<use xlink:href="/assets/img/sprite.svg#icon-fail"></use>
</svg>
<p>
<strong class="alert__title">Ops, there was an error</strong>
Would you mind trying again?
</p>
</div>
<input type="hidden" name="_subject" value="New contact form submission" />
</form>