mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
7b3b24547d
Updated product name on website and docs
58 lines
4.0 KiB
Plaintext
Vendored
58 lines
4.0 KiB
Plaintext
Vendored
<div id="contact" v-cloak>
|
||
<div class="container-fluid pt-5 pb-5">
|
||
<div style="max-width: 650px;" class="mx-auto" v-if="!cloudSuccess">
|
||
<h2 style="max-width: 650px;" class="mx-auto">Contact our team</h2>
|
||
<p>We're here to answer your questions, and familiarize you with Fleet.</p>
|
||
<ajax-form action="deliverContactFormMessage" :form-errors.sync="formErrors" :form-data="formData" :form-rules="formRules" :syncing.sync="syncing" :cloud-error.sync="cloudError" @submitted="submittedForm()">
|
||
<div class="form-group">
|
||
<div class="row">
|
||
<div class="col-sm pt-4">
|
||
<label for="first-name">First name<span style="font-weight: 400; color: #FF5C83"> *</span></label>
|
||
<input class="form-control" id="first-name" name="first-name" type="text" :class="[formErrors.firstName ? 'is-invalid' : '']" v-model.trim="formData.firstName" autocomplete="given-name" focus-first>
|
||
<div class="invalid-feedback" v-if="formErrors.firstName">Please let us know what to call you.</div>
|
||
</div>
|
||
<div class="col-sm pt-4">
|
||
<label for="last-name">Last name<span style="font-weight: 400; color: #FF5C83"> *</span></label>
|
||
<input class="form-control" id="last-name" name="last-name" type="text" :class="[formErrors.lastName ? 'is-invalid' : '']" v-model.trim="formData.lastName" autocomplete="family-name">
|
||
<div class="invalid-feedback" v-if="formErrors.lastName">Please let us know what to call you.</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="email-address">Email<span style="font-weight: 400; color: #FF5C83"> *</span></label>
|
||
<input class="form-control" id="email-address" name="email-address" type="email" :class="[formErrors.emailAddress ? 'is-invalid' : '']" v-model.trim="formData.emailAddress" autocomplete="email">
|
||
<div class="invalid-feedback" v-if="formErrors.emailAddress">Please enter a valid email address.</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="topic">How can we help you?</label>
|
||
<div class="selectbox">
|
||
<select class="form-control" id="topic" name="topic" :class="[formErrors.topic ? 'is-invalid' : '']" v-model="formData.topic">
|
||
<option disabled hidden value="undefined">Please select one</option>
|
||
<option value="I want to evaluate Fleet Premium for my organization">I want to evaluate Fleet Premium for my organization</option>
|
||
<option value="I want to understand which plan is right for me">I want to understand which plan is right for me</option>
|
||
<option value="I have a product question">I have a product question</option>
|
||
<option value="Something else">Something else</option>
|
||
</select>
|
||
</div>
|
||
<div class="d-block invalid-feedback" v-if="formErrors.topic">Please choose a topic for your message.</div>
|
||
</div>
|
||
<div class="form-group">
|
||
<label for="message">Message</label>
|
||
<textarea class="form-control" id="message" name="message" :class="[formErrors.message ? 'is-invalid' : '']" v-model.trim="formData.message" autocomplete="none"></textarea>
|
||
<div class="invalid-feedback" v-if="formErrors.message">Message cannot be empty.</div>
|
||
</div>
|
||
<p style="color: #FF5C83">Fields marked with an asterisk (*) are required.</p>
|
||
<cloud-error v-if="cloudError"></cloud-error>
|
||
<div class="form-group btn-container">
|
||
<ajax-button type="submit" :syncing="syncing" class="btn btn-primary btn-sm">Submit</ajax-button>
|
||
</div>
|
||
</ajax-form>
|
||
</div>
|
||
<div style="max-width: 725px;" class="mx-auto text-center" v-else>
|
||
<h2>Thank you, {{formData.firstName}}!</h2>
|
||
<p class="mt-3">We’re happy to hear from you. A member of our team will get back to you soon - usually within 1 business day (or less!).</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<%- /* Expose locals as `window.SAILS_LOCALS` :: */ exposeLocalsToBrowser() %>
|