Skip to content

Commit

Permalink
Moved submit button in form
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickSkowronek committed Jun 24, 2018
1 parent ff4e156 commit 54de7b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/webFrontend/src/app/auth/register/register.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
</div>

<app-password-input [form]="registerForm"></app-password-input>

<div>
<mat-checkbox class="terms-checkbox" formControlName="termsCheckbox">
<span class="privacy-label">
{{'auth.registration.acceptCheckboxes' | translate}}
Expand All @@ -106,12 +106,11 @@
</a>
</span>
</mat-checkbox>

</form>
</div>
<button class="register-button" [matTooltip]="'auth.registration.tooltipRegister' | translate" mat-raised-button color="primary" type="submit"
[disabled]="loading || !registerForm?.valid">{{'common.register'|translate}}
</button>

</form>
<div class="bottom-buttons">
<button *ngIf="role == 'student'" mat-button type="button" routerLink="/activation-resend" routerLinkActive="active">
{{'auth.registration.resendActivationButton'|translate}}
Expand Down

0 comments on commit 54de7b6

Please sign in to comment.