2017-05-08 15:12:49 -06:00
|
|
|
{% extends 'templates/base.html' %}
|
|
|
|
{% block title %}{{super()}} | Contact{% endblock %}
|
|
|
|
|
2017-05-08 15:27:45 -06:00
|
|
|
{% block head %}
|
|
|
|
{{super()}}
|
2017-08-22 17:32:25 -06:00
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/.form.min.css">
|
|
|
|
<link rel="stylesheet" type="text/css" href="/static/css/.contact.min.css">
|
2017-06-30 14:38:30 -06:00
|
|
|
<script type="application/javascript" src='https://www.google.com/recaptcha/api.js'></script>
|
|
|
|
{% endblock %}
|
2017-07-04 11:14:28 -06:00
|
|
|
|
2017-06-30 14:38:30 -06:00
|
|
|
{% block javascript %}
|
|
|
|
{{super()}}
|
2018-03-08 14:29:55 -07:00
|
|
|
<script type="application/javascript" src="/static/js/.contact.min.js"></script>
|
2017-05-08 15:27:45 -06:00
|
|
|
{% endblock %}
|
|
|
|
|
2017-05-08 15:12:49 -06:00
|
|
|
{% block main %}
|
|
|
|
<section class='container'>
|
|
|
|
|
|
|
|
<h1>Contact</h1>
|
2017-05-08 15:27:45 -06:00
|
|
|
|
2017-05-08 17:01:35 -06:00
|
|
|
<form id='contact-form' role="form" method="POST">
|
2018-03-04 13:15:43 -07:00
|
|
|
<input type="hidden" name="_csrf" value="{{csrfToken}}">
|
2017-05-08 15:27:45 -06:00
|
|
|
|
2017-07-04 12:12:54 -06:00
|
|
|
<input id='subject-input' name="subject" id='subject' type="text" maxlength="160" placeholder="Subject">
|
|
|
|
<p id='message-help' class='red help'>You need to enter a message. </p>
|
|
|
|
<textarea id='message-input' name="message" id='message' rows="10" maxlength="5000" placeholder="Message" required>{{message}}</textarea>
|
2017-05-08 15:27:45 -06:00
|
|
|
|
2017-07-04 12:12:54 -06:00
|
|
|
<input id='name-input' name="name" id='name' type="text" maxlength="160" value="{{user.name}}" placeholder="Your name">
|
|
|
|
<p id='email-help' class='red help'>You need to enter a valid email. </p>
|
|
|
|
<input id='email-input' name="email" id='email' type="email" maxlength="160" value="{{user.email}}" placeholder="Your email" required>
|
2017-05-08 17:01:35 -06:00
|
|
|
|
2017-07-04 12:12:54 -06:00
|
|
|
<button id='submit-button' class='g-recaptcha main btn' data-sitekey="{{sitekey}}" data-callback="onSubmit">Submit</button>
|
2017-05-08 15:27:45 -06:00
|
|
|
</form>
|
2017-05-08 15:12:49 -06:00
|
|
|
|
|
|
|
</section>
|
2017-05-08 15:27:45 -06:00
|
|
|
{% endblock %}
|