Skip to content

Instantly share code, notes, and snippets.

@jessecogollo
Last active August 29, 2015 14:14
Show Gist options
  • Save jessecogollo/fec8cb9acaac19049ae5 to your computer and use it in GitHub Desktop.
Save jessecogollo/fec8cb9acaac19049ae5 to your computer and use it in GitHub Desktop.
welcome.html (Proyecto base aurelia.io) Antes app.html
<template>
<section>
<h2>${heading}</h2>
<form role="form" submit.delegate="welcome()">
<div class="form-group">
<label for="fn">First Name</label>
<input type="text" value.bind="firstName" class="form-control" id="fn" placeholder="first name">
</div>
<div class="form-group">
<label for="ln">Last Name</label>
<input type="text" value.bind="lastName" class="form-control" id="ln" placeholder="last name">
</div>
<div class="form-group">
<label>Full Name</label>
<p class="help-block">${fullName}</p>
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</section>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment