Created
October 6, 2017 03:32
-
-
Save alphanetEX/447c64e4e0d25c1018e05bf32b0ba44f to your computer and use it in GitHub Desktop.
Legacy Login
This file contains hidden or 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
<!--area de registro y de atencion --> | |
<div> | |
<div class="col-lg-6"> | |
<div class="alert alert-success" *ngIf="status_backend =='success'"> bienvenido | |
</div> | |
<div class="alert alert-danger" *ngIf="status_backend == 'failed'"> No es posible iniciar secion | |
</div> | |
<h1> Login </h1> | |
<form #registerForm="ngForm" (ngSubmit)="onLogin()" class="col-lg-10" > | |
<p> | |
<label> Correo Electronico </label> | |
<input type="email" name="correo_electronico" #correo_elecronico="ngModel" [(ngModel)]="user.correo_electronico" class="form-control" required/> | |
<span *ngIf="!correo_elecronico.valid && correo_elecronico.touched"> | |
El correo Electronico es obligatorio | |
</span> | |
</p> | |
<p> | |
<label for=""> Contraseña </label> | |
<input type="password" name="contrasenia" #contrasenia="ngModel" [(ngModel)]="user.contrasenia" class="form-control" required/> | |
<span *ngIf="!contrasenia.valid && contrasenia.touched"> | |
El correo Electronico es obligatorio | |
</span> | |
</p> | |
<input type="submit" value="enviar" class="btn btn-primary" [disabled]="!registerForm.form.valid"/> | |
</form> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment