Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created December 12, 2012 00:40
Show Gist options
  • Save ruprict/4263817 to your computer and use it in GitHub Desktop.
Save ruprict/4263817 to your computer and use it in GitHub Desktop.
<form id="create_form" class="one-third column alpha" data-bind="submit: createNewLink">
<!-- ko with: newLink -->
<p>
<label for="link_url">Link:</label>
<input type="text" name="link[url]" id="link_url" data-bind="value: url"/>
</p>
<p>
<label for="description">Description:</label>
<input type="text" name="link[description]" id="link_description" data-bind="value: description"/>
</p>
<!-- /ko -->
<input type="submit" value="Add"/>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment