Sha256: 35d008560626cbca55e382ed2d14d743186e66f37c9ffcc410346f45b283ce3e

Contents?: true

Size: 1.35 KB

Versions: 7

Compression:

Stored size: 1.35 KB

Contents

<h3>Contact Us</h3>

<%= form_tag sendmail_path %>

<p>First name:<br /><input type="text" name ="first_name" class="required" /></p>
<p>Last name:<br /><input type="text" name ="last_name" class="required" /></p>
<p>Email:<br /><input type="text" name ="email" class="required email" /></p>
<p>Message:<br><textarea name="message" id="message">Type your message here</textarea></p>


<input type="hidden" name="meta[from]" value="kris.leech@interkonect.com" />
<input type="hidden" name="meta[subject]" value="kris.leech@interkonect.com" />
<input type="hidden" name="meta[recipients]" value="kris.leech@interkonect.com" />
<!-- <input type="hidden" name="meta[redirect_to]" value="/thank-you" /> -->
<!-- <input type="hidden" name="meta[message]" value="Thank you!" /> -->
<input type="hidden" name="meta[show_page]" value="thank_you" />


<input type="submit" name="submit" value="Send" />
</form>


<p>Your email address will be kept confidential and used only to respond to your enquiry</p>



<%= javascript_include_tag 'jquery-validate/jquery.validate.min.js' %>
<script>
  $(document).ready(function() {
    $('form').validate();
  });

    $('#message').blur(function(){
      if($(this).attr('value')=='') {
        $(this).attr('value', 'Type your message here...')
      }
    });

    $('#message').focus(function(){
      $(this).attr('value', '');
    });
</script>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
qcms-1.3.10 app/views/pages/contact.html.erb
qcms-1.3.9 app/views/pages/contact.html.erb
qcms-1.3.8 app/views/pages/contact.html.erb
qcms-1.3.7 app/views/pages/contact.html.erb
qcms-1.3.6 app/views/pages/contact.html.erb
qcms-1.3.5 app/views/pages/contact.html.erb
qcms-1.3.3 app/views/pages/contact.html.erb