Commit e8a4954c authored by Emily Jensen's avatar Emily Jensen

Moved HTML to own file

parent 4c7289d1
<app-marketing-frame>
<div class="account-column__inner account-column__inner--right">
<div class="account-column__right-heading">
<h1 class="heading-medium">Reset&nbsp;Password</h1>
<div class="account-column__link">
<a class="text-link text-link--caret text-link--large" id="btn-signin" [routerLink]="['/login']">
Remembered? Log&nbsp;in
</a>
</div>
</div>
<p>Your backup code works! Almost done! Now enter your new password.</p>
<form [ngrxFormState]="form" class="auth-form__form" (submit)="onSubmit()">
<app-password-input
[showConfirm]="form.controls.showConfirm"
[newPassword]="form.controls.newPassword"
[newPasswordConfirm]="form.controls.newPasswordConfirm"
[errors]="form.errors"
[isSubmitted]="form.isSubmitted"
(toggleConfirm)="toggleConfirm.emit()"
></app-password-input>
<button
id="setPasswordSubmit"
class="button button--large button--green"
[disabled]="hasStarted"
type="submit">
Set New Password
</button>
</form>
</div>
</app-marketing-frame>
\ No newline at end of file
......@@ -10,41 +10,7 @@ import { ISetPasswordForm } from "./set-password.reducer";
@Component({
selector: "app-set-password",
template: `
<app-marketing-frame>
<div class="account-column__inner account-column__inner--right">
<div class="account-column__right-heading">
<h1 class="heading-medium">Reset&nbsp;Password</h1>
<div class="account-column__link">
<a class="text-link text-link--caret text-link--large" id="btn-signin" [routerLink]="['/login']">
Remembered? Log&nbsp;in
</a>
</div>
</div>
<p>Your backup code works! Almost done! Now enter your new password.</p>
<form [ngrxFormState]="form" class="auth-form__form" (submit)="onSubmit()">
<app-password-input
[showConfirm]="form.controls.showConfirm"
[newPassword]="form.controls.newPassword"
[newPasswordConfirm]="form.controls.newPasswordConfirm"
[errors]="form.errors"
[isSubmitted]="form.isSubmitted"
(toggleConfirm)="toggleConfirm.emit()"
></app-password-input>
<button
id="setPasswordSubmit"
class="button button--large button--green"
[disabled]="hasStarted"
type="submit">
Set New Password
</button>
</form>
</div>
</app-marketing-frame>
`,
templateUrl: "./set-password.component.html",
changeDetection: ChangeDetectionStrategy.OnPush
})
export class SetPasswordComponent {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment