Skip to content

Instantly share code, notes, and snippets.

View gavmck's full-sized avatar

Gavyn McKenzie gavmck

View GitHub Profile
@gavmck
gavmck / evey extra attendee fields
Created December 4, 2014 09:47
Evey events extra attendee fields generated html
<div class="extra-cart-field">
<label for="firstname1">First name</label>
<input type="text" required="" placeholder="First name" value="" name="attributes[attendee-1017013711-1-firstname]" id="firstname1">
</div>
<div class="extra-cart-field">
<label for="lastname1">Last name</label>
<input type="text" required="" placeholder="Last name" value="" name="attributes[attendee-1017013711-1-lastname]" id="lastname1">
</div>
<div class="extra-cart-field">
<label for="email1">Email address</label>
@gavmck
gavmck / 0_reuse_code.js
Created February 3, 2014 15:03
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console