diff --git a/src/web/app/components/session-edit-form/session-edit-form.component.html b/src/web/app/components/session-edit-form/session-edit-form.component.html index 7f7a7f9e435..d6695e067a2 100644 --- a/src/web/app/components/session-edit-form/session-edit-form.component.html +++ b/src/web/app/components/session-edit-form/session-edit-form.component.html @@ -82,12 +82,16 @@
Or

- Session Name + Session Name* Session Name
- + +
+ + The field Session Name should not be empty. +
{{FEEDBACK_SESSION_NAME_MAX_LENGTH - model.feedbackSessionName.length}} characters left
@@ -339,7 +343,7 @@
Or
-

You need to have an active(unarchived) course to create a session!

diff --git a/src/web/app/components/session-edit-form/session-edit-form.component.scss b/src/web/app/components/session-edit-form/session-edit-form.component.scss index d3ad655ac51..3a3c47a0cb5 100644 --- a/src/web/app/components/session-edit-form/session-edit-form.component.scss +++ b/src/web/app/components/session-edit-form/session-edit-form.component.scss @@ -62,3 +62,8 @@ margin-bottom: .5rem; } } + +.invalid-field { + padding-top: 5px; + color: #B50000; +} diff --git a/src/web/app/pages-instructor/instructor-sessions-page/__snapshots__/instructor-sessions-page.component.spec.ts.snap b/src/web/app/pages-instructor/instructor-sessions-page/__snapshots__/instructor-sessions-page.component.spec.ts.snap index a1352b2ece8..4640dbd87ca 100644 --- a/src/web/app/pages-instructor/instructor-sessions-page/__snapshots__/instructor-sessions-page.component.spec.ts.snap +++ b/src/web/app/pages-instructor/instructor-sessions-page/__snapshots__/instructor-sessions-page.component.spec.ts.snap @@ -588,7 +588,7 @@ exports[`InstructorSessionsPageComponent should snap when new session form is ex class="ngb-tooltip-class" ngbtooltip="Enter the name of the feedback session e.g. Feedback Session 1." > - Session Name + Session Name*
+