Ich bekomme einige Fehler in der Konsole und bin nicht sicher, was das Problem in der HTML
ist. Jede Hilfe wäre willkommen. Unerwartetes schließendes Tag "div" Fehler angular2 HTML
error_handler.js:51 EXCEPTION: Uncaught (in promise): Error: Template parse errors: Unexpected closing tag "div" (" Click here to Signup [ERROR ->] "): [email protected]:1 Error: Template parse errors: Unexpected closing tag "div" (" Click here to Signup [ERROR ->] "): [email protected]:1
<section class="reset-password">
<div class="container container-responsive inner-top-xs">
<form [formGroup]="resetPasswordForm" (ngSubmit)="resetPassword(resetPasswordForm.value, resetPasswordForm.valid)">
<h4>Please enter your e-mail address and a temporary password will be sent to you.</h4>
<div class="form-group">
<label class="control-label" for="email">Email</label>
<input type="text" formControlName="email" required class="form-control" id="email" placeholder="Email">
<validation-message [control]="resetPasswordForm.controls.email"></validation-message>
</div>
<button type="submit" class="btn btn-flat__blue outer-top-xs" [disabled]="!resetPasswordForm.valid">RESET PASSWORD</button>
</form>
<div class="alert alert-dismissible alert-danger outer-top-xs" *ngIf="errorMessage && !successMessage"">
<button type="button" class="close" data-dismiss="alert">×</button>
{{errorMessage}}
</div>
<div class="alert alert-dismissible alert-success outer-top-xs" *ngIf="successMessage">
<button type="button" class="close" data-dismiss="alert">×</button>
{{successMessage}}
</div>
<div class="outer-top-xs">
<a [routerLink]="['/getstarted']">Click here to Signup</a>
</div>
</div>
</section>
Es gibt kaum ein besseres Beispiel für einen Fall für die Verwendung der "Tippfehler" schließen Grund. –
@torazaburo ohhh, gibt es so etwas? Ich wusste nicht! :) dann ja, du hast definitiv recht – PierreDuc
Oh mein. Vielen Dank. – Cookies