@@ -139,18 +139,21 @@
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<form class="contact-form" id="contactForm">
|
||||
<form class="contact-form" id="contactForm" novalidate>
|
||||
<label>
|
||||
<span data-i18n="form.name">Name</span>
|
||||
<input type="text" id="name" data-i18n-placeholder="form.namePlaceholder" placeholder="Your name" required />
|
||||
<small class="field-error" id="nameError"></small>
|
||||
</label>
|
||||
<label>
|
||||
<span data-i18n="form.email">Email</span>
|
||||
<input type="email" id="email" data-i18n-placeholder="form.emailPlaceholder" placeholder="name@company.com" required />
|
||||
<small class="field-error" id="emailError"></small>
|
||||
</label>
|
||||
<label>
|
||||
<span data-i18n="form.message">Message</span>
|
||||
<textarea id="message" rows="6" data-i18n-placeholder="form.messagePlaceholder" placeholder="Tell me what you want to build." required></textarea>
|
||||
<small class="field-error" id="messageError"></small>
|
||||
</label>
|
||||
<button id="submit" type="submit" class="btn btn-primary" data-i18n="form.send">Send message</button>
|
||||
<strong id="msgSubmit" class="form-message" role="status" aria-live="polite"></strong>
|
||||
@@ -162,10 +165,12 @@
|
||||
<input type="email" id="subscribeEmail" data-i18n-placeholder="subscribe.emailPlaceholder" placeholder="name@company.com" required />
|
||||
<button id="subscribeSubmit" type="submit" class="btn btn-primary" data-i18n="subscribe.submit">Subscribe</button>
|
||||
</div>
|
||||
<small class="field-error" id="subscribeEmailError"></small>
|
||||
<div class="consent-inline">
|
||||
<input type="checkbox" id="subscribeConsent" required />
|
||||
<label for="subscribeConsent" data-i18n="subscribe.gdpr">I agree to receive occasional emails about new demos.</label>
|
||||
</div>
|
||||
<small class="field-error" id="subscribeConsentError"></small>
|
||||
<strong id="subscribeMsg" class="form-message" role="status" aria-live="polite"></strong>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user