Last active
June 8, 2017 20:05
-
-
Save stephenasamoah/a7c1f6df1d2393dadac26c316b1c7fb0 to your computer and use it in GitHub Desktop.
amp-form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action-xhr="/assets/scripts/form-xhr.php" target="_top" class="form__rsrv form__sidebar"> | |
<h2 class="form__rsrv--hd">Book Now</h2> | |
<div class="grid"> | |
<div class="form__rsrv--motor"> | |
<!-- Date In --> | |
<div class="form__mod"> | |
<label for="book__date--in-top" class="form__label--required book--label">Arrival Date</label> | |
<input type="date" value="2017-01-01" class="form--input book--text" id="book__date--in-top" | |
aria-required="true" required> | |
</div> | |
<!-- Date Out --> | |
<div class="form__mod"> | |
<label for="book__date--out-top" class="form__label--required book--label">Departure Date</label> | |
<input type="date" value="2017-01-02" class="form--input book--text" id="book__date--out-top" | |
aria-required="true" required> | |
</div> | |
// more code here | |
<!-- Submit --> | |
<div class="form__mod book__submit book__submit--rounded btn btn--cta"> | |
<label for="book__submit-top" class="srt">Book</label> | |
<input type="submit" value="Book" id="book__submit-top" | |
aria-label="Button to get rates"> | |
</div> | |
<div class="form__mod"> | |
<small>* Please contact our <a href="/contact.html#contact--query" | |
target="_blank">Reservations Department</a> if your | |
requirements exceed default quantities. | |
</small> | |
</div> | |
</div> | |
</div> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment