From 4e9fa5b7e9ca6030a5fe2e9b0520bf8fa18e5877 Mon Sep 17 00:00:00 2001 From: Nassim Bounouas Date: Fri, 21 Jun 2019 08:49:35 +0200 Subject: Feature/subject in contact form (#1926) * #1915 Add a subject to contact form and add it to email sent * #1915 Add subject to contact form tests * #1915 Contact form test corrected && tslint correction --- .../about-instance/contact-admin-modal.component.html | 9 +++++++++ .../+about/about-instance/contact-admin-modal.component.ts | 4 +++- .../forms/form-validators/instance-validators.service.ts | 14 ++++++++++++++ client/src/app/shared/instance/instance.service.ts | 3 ++- 4 files changed, 28 insertions(+), 2 deletions(-) (limited to 'client/src/app') diff --git a/client/src/app/+about/about-instance/contact-admin-modal.component.html b/client/src/app/+about/about-instance/contact-admin-modal.component.html index b2cbd0873..c3c71bdee 100644 --- a/client/src/app/+about/about-instance/contact-admin-modal.component.html +++ b/client/src/app/+about/about-instance/contact-admin-modal.component.html @@ -25,6 +25,15 @@
{{ formErrors.fromEmail }}
+
+ + +
{{ formErrors.subject }}
+
+