diff --git a/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.css b/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.css
index e347887..2a612fa 100644
--- a/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.css
+++ b/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.css
@@ -10,3 +10,7 @@ input[type="text"] {
input[type="email"] {
width: 200px;
}
+
+textarea {
+ width: 200px;
+}
diff --git a/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.html b/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.html
index e22536f..b876990 100644
--- a/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.html
+++ b/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.html
@@ -9,7 +9,7 @@
-
diff --git a/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.ts b/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.ts
index 601c311..0f6d067 100644
--- a/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.ts
+++ b/Front/skydivelogs-app/src/app/new-drop-zone/new-drop-zone.component.ts
@@ -14,8 +14,8 @@ export class NewDropZoneComponent implements OnInit {
dzName: new FormControl('', Validators.required),
gps: new FormControl('x.x,y.y', Validators.required),
address: new FormControl('', Validators.required),
- contactMail: new FormControl('tot@toto.fr', Validators.required),
- type: new FormControl('[dz]', Validators.required)
+ contactMail: new FormControl('tot@toto.fr', [Validators.required, Validators.pattern('\\w+@\\w+\.\\w+')]),
+ type: new FormControl('dz, tunel', Validators.required)
});
}