Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
2.1 kB
2
Indexable
Never
<div class="general-container container-fluid">
    <div class="form-container">
        <form [formGroup]="form">
            <mat-card  class="card-form mat-elevation-z5">
                <div class="input-container row m-5">
                    <div class="col-md-6">
                        <h3 class="form-label">{{'registration.form-label.names' | translate}}</h3>
                        <div class="card-form__input">
                            <mat-form-field class="form-field">
                                <mat-icon matSuffix>person</mat-icon>
                                <input appWhiteSpaceFormatter
                                       type="text"
                                       formControlName="email" matInput>
                                <mat-error *ngIf="form.get('email').errors">{{
                                    (form.get('email').errors?.required) ? ('errors.field-required' | translate): ''}}
                                </mat-error>
                            </mat-form-field>
                        </div>
                    </div>
                    <div class="col-md-6">
                        <h3 class="form-label">{{'registration.form-label.lastNames' | translate}}</h3>
                        <div class="card-form__input">
                            <mat-form-field class="form-field">
                                <mat-icon matSuffix>person</mat-icon>
                                <input appWhiteSpaceFormatter
                                       type="text"
                                       formControlName="email" matInput>
                                <mat-error *ngIf="form.get('email').errors">{{
                                    (form.get('email').errors?.required) ? ('errors.field-required' | translate): ''}}
                                </mat-error>
                            </mat-form-field>
                        </div>
                    </div>
                </div>
            </mat-card>
        </form>
    </div>
</div>