_includes/contact.html in jekyll-theme-consulting-0.8.1 vs _includes/contact.html in jekyll-theme-consulting-0.8.2

- old
+ new

@@ -3,19 +3,20 @@ {%- assign email_input_id="contact-email" -%} {%- assign message_input_id="contact-message" -%} {%- assign submit_input_id="contact-submit-button" -%} {%- assign reset_input_id="contact-reset-button" -%} {%- assign recaptcha_widget_id="recaptcha-checkbox" -%} -{%- assign onsubmit_callback="sendContactMessage" -%} +{%- assign onsubmit_callback="processContactRequest" -%} {%- assign onreset_callback="resetContactForm" -%} +{%- assign onfocusout_callback="toggleSubmitInputElement" -%} <section id="contact" class="inverted" style="{{ include.style | default: nil }}"> <header class="major"> <h2>Contact Me</h2> </header> <div class="row gtr-200"> <div class="col-6 col-12-medium col-12-small col-12-xsmall"> - {% include contact_form.html form_id=form_id name_input_id=name_input_id email_input_id=email_input_id message_input_id=message_input_id submit_input_id=submit_input_id reset_input_id=reset_input_id recaptcha_widget_id=recaptcha_widget_id onsubmit_callback=onsubmit_callback onreset_callback=onreset_callback %} + {% include contact_form.html form_id=form_id name_input_id=name_input_id email_input_id=email_input_id message_input_id=message_input_id submit_input_id=submit_input_id reset_input_id=reset_input_id recaptcha_widget_id=recaptcha_widget_id onsubmit_callback=onsubmit_callback onreset_callback=onreset_callback onfocusout_callback=onfocusout_callback %} </div> <div class="col-6 col-12-medium col-12-small col-12-xsmall"> <ul class="contact"> <li class="icon solid fa-envelope"><a href="#">{{ site.email }}</a></li> <li class="icon solid fa-phone">{{ site.phone }}</li> @@ -24,6 +25,6 @@ </ul> </div> </div> </section> -{% include contact_script.html form_id=form_id name_input_id=name_input_id email_input_id=email_input_id message_input_id=message_input_id submit_input_id=submit_input_id reset_input_id=reset_input_id recaptcha_widget_id=recaptcha_widget_id onsubmit_callback=onsubmit_callback onreset_callback=onreset_callback %} +{% include contact_script.html form_id=form_id name_input_id=name_input_id email_input_id=email_input_id message_input_id=message_input_id submit_input_id=submit_input_id reset_input_id=reset_input_id recaptcha_widget_id=recaptcha_widget_id onsubmit_callback=onsubmit_callback onreset_callback=onreset_callback onfocusout_callback=onfocusout_callback %}