Cleaned code
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<form [formGroup]="loginForm">
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Pseudo</ion-label>
|
||||
<ion-label position="stacked" class="mb-2">Pseudo</ion-label>
|
||||
<ion-input placeholder="Nom d'utilisateur" formControlName="username"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Mot de passe</ion-label>
|
||||
<ion-label position="stacked" class="mb-2">Mot de passe</ion-label>
|
||||
<ion-input type="password" placeholder="MotDePasse1234" formControlName="password">
|
||||
<ion-input-password-toggle slot="end"></ion-input-password-toggle>
|
||||
</ion-input>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import {Component, output} from '@angular/core';
|
||||
import {Component} from '@angular/core';
|
||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||
import {IonicModule} from "@ionic/angular";
|
||||
|
||||
|
||||
@@ -1,34 +1,34 @@
|
||||
<form [formGroup]="userForm">
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Prénom
|
||||
<ion-label position="stacked" class="mb-2">Prénom
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Prénom" [clearInput]="true" formControlName="firstName"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Nom
|
||||
<ion-label position="stacked" class="mb-2">Nom
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Nom de famille" [clearInput]="true" formControlName="name"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Pseudo
|
||||
<ion-label position="stacked" class="mb-2">Pseudo
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Nom d'utilisateur" [clearInput]="true" formControlName="username"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Adresse email
|
||||
<ion-label position="stacked" class="mb-2">Adresse email
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input placeholder="Email" [clearInput]="true" formControlName="email"></ion-input>
|
||||
</ion-item>
|
||||
|
||||
<ion-item lines="none">
|
||||
<ion-label position="stacked">Mot de passe
|
||||
<ion-label position="stacked" class="mb-2">Mot de passe
|
||||
<ion-text color="danger">*</ion-text>
|
||||
</ion-label>
|
||||
<ion-input type="password" placeholder="MotDePasse1234" [clearInput]="true" formControlName="password">
|
||||
|
||||
Reference in New Issue
Block a user