Created
May 2, 2013 20:55
-
-
Save milankinen/5505399 to your computer and use it in GitHub Desktop.
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
<script type="text/x-template" id="person-form-template"> | |
<div class="form-horizontal"> | |
<div class="control-group"> | |
<label class="control-label" for="name">Name</label> | |
<div class="controls"><input class="input" type="text" name="name" id="name" value="{{name}}" /></div> | |
</div> | |
<div class="control-group"> | |
<label class="control-label" for="age">Age</label> | |
<div class="controls"><input class="input" type="number" name="age" id="age" value="{{age}}" /></div> | |
</div> | |
<div class="controls"> | |
<button class="btn btn-primary" id="send-btn">Send</button> | |
<button class="btn" id="cancel-btn">Cancel</button> | |
</div> | |
</div> | |
</script> | |
<div class="container"> | |
<div id="person-form"> | |
<!-- the actual content comes here! --> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment