Skip to content

Instantly share code, notes, and snippets.

@guzmonne
Created June 24, 2017 21:59
Show Gist options
  • Select an option

  • Save guzmonne/e4a618953b7a10d40f33273f2ac76d78 to your computer and use it in GitHub Desktop.

Select an option

Save guzmonne/e4a618953b7a10d40f33273f2ac76d78 to your computer and use it in GitHub Desktop.
cognito-auth.LoginForm.template.js
<script type="text/html" id="LoginForm">
<div class="LoginForm">
<div class="LoginForm__title">Login</div>
<form class="LoginForm__form">
<div class="Control">
<label class="Control__label" for="user">User</label>
<input class="Control__input" name="user" type="text" placeholder="User" />
</div>
<div>
<label class="Control__label" for="password">Password</label>
<input class="Control__input" name="password" type="password" placeholder="Password" />
</div>
<input class="Control__input" type="submit" value="Let's go" />
</form>
</div>
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment