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

38 lines
1.3 KiB
HTML
Raw Normal View History

description = "Contact Me Form"
==
<form data-request="{{ __SELF__ }}::onFormSubmit">
{{ form_token() }}
<div id="{{ __SELF__ }}_forms_flash"></div>
<div class="form-group">
<!--<label for="name">Name:</label>
<input type="text" id="name" name="name" class="form-control">-->
<input type="text" id="name" name="name" class="form-control" placeholder="Your Name" required autofocus>
</div>
<div class="form-group">
<!--<label for="email">Email:</label>
<input type="text" id="email" name="email" class="form-control">-->
<input type="email" id="email" name="email" class="form-control" placeholder="Email Address" required>
</div>
<!--<div class="form-group">
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" class="form-control">
</div>-->
<div class="form-group">
<!--<label for="message">Message:</label>-->
<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-danger">Cancel</button>
</form>