diff --git a/src/app/features/administration/form/base-config/base-config.component.html b/src/app/features/administration/form/base-config/base-config.component.html index f9ca8ebd..89b0568b 100644 --- a/src/app/features/administration/form/base-config/base-config.component.html +++ b/src/app/features/administration/form/base-config/base-config.component.html @@ -90,20 +90,4 @@
- Url personnalisée: - {{ form.value.custom_url }} -
-
- -
- -
- -
diff --git a/src/app/features/administration/form/base-config/base-config.component.ts b/src/app/features/administration/form/base-config/base-config.component.ts index 5fa99e8e..9a3ccf66 100644 --- a/src/app/features/administration/form/base-config/base-config.component.ts +++ b/src/app/features/administration/form/base-config/base-config.component.ts @@ -33,28 +33,12 @@ export class BaseConfigComponent { @Inject(DOCUMENT) private document: Document ) {} - askInitFormDefault(): void { - this.toastService.display('formulaire réinitialisé', 'info'); - } - public updateSlug(): void { const newValueFormatted = this.pollService.convertTextToSlug(this.form.value.title); console.log('newValueFormatted', newValueFormatted); this.form.patchValue({ custom_url: newValueFormatted }); } - /** - * set the poll custom_url from other data of the poll - */ - automaticSlug(): void { - this.form.patchValue({ - custom_url: - this.pollService.convertTextToSlug(this.form.value.title) + - '_' + - this.utilitiesService.makeUuid().substr(0, 12), - }); - } - getErrorMessage(fieldControl) { return fieldControl.hasError('required') ? 'You must enter a value' diff --git a/src/app/features/administration/form/date-select/date-select.component.html b/src/app/features/administration/form/date-select/date-select.component.html index 62015e34..b3f6aec2 100644 --- a/src/app/features/administration/form/date-select/date-select.component.html +++ b/src/app/features/administration/form/date-select/date-select.component.html @@ -91,7 +91,13 @@
- liste de jours : +

Dates

+ + +
+
-

Dates

- - -
-
Enregistrer le sondage (sans vérifier) + +