-
-
-
+
-
diff --git a/src/app/features/administration/form/step-one/step-one.component.html b/src/app/features/administration/form/step-one/step-one.component.html
index 97a55d08..0de80b6c 100644
--- a/src/app/features/administration/form/step-one/step-one.component.html
+++ b/src/app/features/administration/form/step-one/step-one.component.html
@@ -1,5 +1,5 @@
-
@@ -43,8 +44,11 @@
+
- {{ timeList.length }}
+ {{ pollService.timeList.length }}
{{ 'dates.count_time' | translate }}
@@ -12,13 +12,18 @@
-
+
{{ 'dates.add_time' | translate }}
@@ -26,8 +31,8 @@
Aucune plage horaire
@@ -36,9 +41,9 @@
-
+
-
+
@@ -51,15 +56,15 @@
- {{ dateList.length }}
+ {{ pollService.dateList.length }}
{{ 'dates.count_dates' | translate }}
-
+
{{ 'dates.add' | translate }}
-
+
-
+
-
+
{{ 'dates.add_time' | translate }}
-
+
-
+
{{ 'dates.interval_button' | translate }}
- {{ intervalDays }}
+ {{ pollService.intervalDays }}
{{ 'dates.interval_button_dates' | translate }}
+
+
+
+
+ précédent
+
+
+
+
+
+ suivant
+
+
+
diff --git a/src/app/features/administration/form/step-three/step-three.component.ts b/src/app/features/administration/form/step-three/step-three.component.ts
index 7798f93e..26792249 100644
--- a/src/app/features/administration/form/step-three/step-three.component.ts
+++ b/src/app/features/administration/form/step-three/step-three.component.ts
@@ -1,4 +1,5 @@
import { Component, Input, OnInit } from '@angular/core';
+import { PollService } from '../../../../core/services/poll.service';
@Component({
selector: 'app-step-three',
@@ -10,7 +11,8 @@ export class StepThreeComponent implements OnInit {
step_max: any;
@Input()
form: any;
- constructor() {}
+
+ constructor(public pollService: PollService) {}
ngOnInit(): void {}
}
diff --git a/src/app/features/administration/form/step-two/step-two.component.html b/src/app/features/administration/form/step-two/step-two.component.html
index 72821dbe..f3e786f9 100644
--- a/src/app/features/administration/form/step-two/step-two.component.html
+++ b/src/app/features/administration/form/step-two/step-two.component.html
@@ -6,8 +6,8 @@
@@ -16,8 +16,8 @@
@@ -25,4 +25,17 @@
+
+
+
+ précédent
+
+
+
+
+
+ suivant
+
+
+
diff --git a/src/styles/dev-utilities/_debug.scss b/src/styles/dev-utilities/_debug.scss
index 0c9f0378..59aa1b0c 100644
--- a/src/styles/dev-utilities/_debug.scss
+++ b/src/styles/dev-utilities/_debug.scss
@@ -19,14 +19,14 @@ label {
cursor: pointer;
}
- &:not([for]) {
- color: $dusty-orange;
-
- &:before {
- content: "### debug: ce label n'a pas d'attribut for, c'est mal. ### ";
- color: $violet;
- }
- }
+ //&:not([for]) {
+ // color: $dusty-orange;
+ //
+ // &:before {
+ // content: "### debug: ce label n'a pas d'attribut for, c'est mal. ### ";
+ // color: $violet;
+ // }
+ //}
}
input {
diff --git a/src/styles/partials/_form-controls.scss b/src/styles/partials/_form-controls.scss
index 2bafd105..5c8d61fc 100644
--- a/src/styles/partials/_form-controls.scss
+++ b/src/styles/partials/_form-controls.scss
@@ -5,11 +5,13 @@ textarea {
@extend .input;
padding: calc(0.5em - 1px);
border-color: $border-color !important;
+ width: 100%;
+ max-width: 100%;
}
textarea {
min-height: 3em;
- width: 100%;
+
display: block;
}