<% 
    formTitleCls = 'h6'
    formTitle = 'Tell us more about yourself and we\'ll get back to you';
    formMsg = 'Tell us more about yourself';
 %>

<script src="https://www.google.com/recaptcha/api.js?render=<%= process.env.RECAPTCHA_SITE_KEY %>"></script>
<script> window.envRecaptchaSiteKey = "<%= process.env.RECAPTCHA_SITE_KEY %>"</script>


<div class="di_p_s rc_bg_light_grey" style="top:60px;">
    <form id="joinUsForm"  class="joinUsForm" action="../leads/leads-simple" method="POST">
        <input type="text" class="form-control" id="lastname" placeholder="Name" name="name">
        <input type="email" class="form-control di_m_t_10px" id="email" name="email" placeholder="Email">
        <input type="text" class="form-control di_m_t_10px" id="phone" name="phone" placeholder="Phone">
        <textarea class="form-control di_m_t_10px" 
                id="message" 
                name="message" 
                rows="4" 
                cols="50"><%= formMsg %></textarea>
        <button type="submit"
                class="btn di_clr_w keys_secondary_bg di_m_t_10px g-recaptcha"
                data-sitekey=""
                data-callback='onSubmit'
                data-action='submit'
        >
            Send
        </button>
        <p class="di_m_t_10px" style="font-size:12px;"> By clicking "Send" you agree that 24hrs Locksmith and its partners, third parties, may contact you, including through automated calls or text messages. You also agree to our Terms and Services and Privacy Policy.</p>
    </form>
    <div class="container joinUsFormSuccess di_d_none" style="background-color:#39a43d59;">
        <div class="row">
            <div class="col-12 di_b_r_6px di_p_10px">
                <h1 class="h4">Thank you!</h1> 
                <p>We've received your message and we'll get back to you soon.</p>
            </div>
        </div>
    </div>
    <div class="container joinUsFormFailure di_d_none" style="background-color:pink;">
        <div class="row">
            <div class="col-12 di_b_r_6px di_p_10px">
                <h1 class="h4">Error!</h1>
                <p></p>
            </div>
        </div>
    </div>
</div>
