{% extends "base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% load recapture %}

{% block content %}
  <h2>Contact us</h2>

  Please fill in details below, and we will get back to you when possible, alternatively try our live chat.</br>
  <a href="https://hangouts.google.com/group/oDcAL0nDfQYfO3qq1">
    Click here to chat with us
  </a>


  <form method="POST" action="{% url 'contact' %}" class="contact_us_form">
    {% csrf_token %}
    {{ form|crispy }}
    {{ google_capture }}
    <button class="btn btn-primary" type="submit" name="action">{% trans "Send" %}</button>
  </form>

{% endblock content %}

{% block javascript %}
  {{ block.super }}
  <script src='https://www.google.com/recaptcha/api.js'></script>
{% endblock %}
