diff --git a/packages/backend/src/usagers/services/custom-docs/tests/CUSTOM_DOC_COURRIER_REFUS.ts b/packages/backend/src/usagers/services/custom-docs/tests/CUSTOM_DOC_COURRIER_REFUS.ts index 4277d596d1..8473000e0f 100644 --- a/packages/backend/src/usagers/services/custom-docs/tests/CUSTOM_DOC_COURRIER_REFUS.ts +++ b/packages/backend/src/usagers/services/custom-docs/tests/CUSTOM_DOC_COURRIER_REFUS.ts @@ -46,8 +46,7 @@ export const CUSTOM_DOC_COURRIER_REFUS: StructureCustomDocTags = { ENTRETIEN_ORIENTATION: "OUI", ENTRETIEN_ORIENTATION_DETAIL: "", ENTRETIEN_REVENUS_DETAIL: "", - ENTRETIEN_COMMENTAIRE: "", - + ENTRETIEN_COMMENTAIRE: "Ceci est un commentaire", USAGER_LANGUE: "", USAGER_NATIONALITE: "", MOTIF_REFUS: "Absence de lien avec la commune", diff --git a/packages/frontend/src/app/modules/admin-portail-usagers/components/manage-structure-information-form/manage-structure-information-form.component.html b/packages/frontend/src/app/modules/admin-portail-usagers/components/manage-structure-information-form/manage-structure-information-form.component.html index 4fc2d3f4d7..9c710dcfac 100644 --- a/packages/frontend/src/app/modules/admin-portail-usagers/components/manage-structure-information-form/manage-structure-information-form.component.html +++ b/packages/frontend/src/app/modules/admin-portail-usagers/components/manage-structure-information-form/manage-structure-information-form.component.html @@ -76,8 +76,15 @@ id="description" name="description" [required]="true" + [ngClass]="{ + 'description-invalid': + (f.description.dirty || submitted) && f.description.errors, + 'is-valid': + (f.description.dirty || f.description.value) && + !f.description.errors + }" > - {{ tempMessageForm.get("description")?.value }} +
-

Message de votre structure

+

+ {{ structureInformation.length > 1 ? "Messages" : "Message" }} de votre + structure +