Created
October 12, 2018 23:48
-
-
Save zkkmin/3da82102545222663df1b61afbb1b32b to your computer and use it in GitHub Desktop.
Form group control in login component template
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
<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 [formGroup]="form"> | |
... | |
... | |
<button class="button is-block is-info is-large is-fullwidth" (click)="login()">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