diff --git a/src/app/features/administration/administration.module.ts b/src/app/features/administration/administration.module.ts index 7b7d9361..051ead96 100644 --- a/src/app/features/administration/administration.module.ts +++ b/src/app/features/administration/administration.module.ts @@ -9,6 +9,7 @@ import { AdministrationComponent } from './administration.component'; import { StepperComponent } from './stepper/stepper.component'; import { NamingComponent } from './naming/naming.component'; import { FormComponent } from './form/form.component'; +import { DateValueAccessorModule } from 'angular-date-value-accessor'; @NgModule({ declarations: [AdministrationComponent, StepperComponent, NamingComponent, FormComponent], @@ -18,6 +19,7 @@ import { FormComponent } from './form/form.component'; ReactiveFormsModule, SharedModule, TranslateModule.forChild({ extend: true }), + DateValueAccessorModule, ], }) export class AdministrationModule {} diff --git a/src/app/features/administration/form/form.component.html b/src/app/features/administration/form/form.component.html index ed0098b8..6ae4068d 100644 --- a/src/app/features/administration/form/form.component.html +++ b/src/app/features/administration/form/form.component.html @@ -7,6 +7,105 @@ Tout réinitialiser + +
+ le formulaire est invalide +
+
+
+ + {{ timeList.length }} + + + {{ 'dates.count_time' | translate }} + (pour chaque jour) + +
+
+ + + +
+ +
+
+ + + +
+
+
+ + {{ dateList.length }} + + + {{ 'dates.count_dates' | translate }} + + +
+ {{ id }}) + + + +
+
+ + +
+
+
+
+
@@ -77,13 +176,24 @@

{{ 'dates.add_interval' | translate }}

-

- {{ 'dates.interval_propose' | translate }} - - {{ 'dates.interval_span' | translate }} - -
-

+
+
+ {{ 'dates.interval_propose' | translate }} +
+
+ + +
+
+
+
+ {{ 'dates.interval_span' | translate }} +
+
+ + +
+