Skip to content

Instantly share code, notes, and snippets.

@zkkmin
Last active October 11, 2018 22:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zkkmin/66a1373e0424bd1bf51372a9d994f842 to your computer and use it in GitHub Desktop.
Save zkkmin/66a1373e0424bd1bf51372a9d994f842 to your computer and use it in GitHub Desktop.
Login component template
<section class="hero ">
<div class="hero-body">
<div class="container">
<div class="column is-8 is-offset-2">
<div>
<h3 class="title has-text-grey">Login</h3>
<p class="subtitle has-text-grey">Please login to proceed.</p>
<div class="box">
<div class="notification is-danger" [hidden]="!error">
"Unable to log in with provided credentials."
</div>
<form >
<div class="field">
<div class="control">
<input class="input is-large"
type="email"
placeholder="Your email"
autofocus=""
formControlName="email">
</div>
</div>
<div class="field">
<div class="control">
<input class="input is-large"
type="password"
placeholder="Your password"
formControlName="password">
</div>
</div>
<button class="button is-block is-info is-large is-fullwidth" >Login</button>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment