ja.son-williams.ca/www/themes/jason-williamsca/partials/contactform/default.htm

28 lines
880 B
HTML

description = "Contact Me Form"
==
<form data-request="{{ __SELF__ }}::onFormSubmit">
{{ form_token() }}
<div id="{{ __SELF__ }}_forms_flash"></div>
<div class="form-group">
<input type="text" id="name" name="name" class="form-control" placeholder="Your Name" required autofocus>
</div>
<div class="form-group">
<input type="email" id="email" name="email" class="form-control" placeholder="Email Address" required>
</div>
<div class="form-group">
<textarea id="message" name="message" rows="8" class="form-control" placeholder="Message"></textarea>
</div>
<div class="form-group">
{% partial '@recaptcha' %}
</div>
<button id="simpleContactSubmitButton" type="submit" class="btn btn-outline-primary">Send</button>
<button type="reset" class="btn btn-outline-secondary">Cancel</button>
</form>