From b72adb47c6376dd35bf27bad407f4607c7d4ea4d Mon Sep 17 00:00:00 2001 From: Falk Date: Wed, 15 Feb 2023 15:52:22 +0100 Subject: [PATCH] fix(remaining-effort): display validation errors in project view --- app/projects/template.hbs | 10 +++++++++- app/styles/projects.scss | 5 +++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/app/projects/template.hbs b/app/projects/template.hbs index d29652cbe..35a1478eb 100644 --- a/app/projects/template.hbs +++ b/app/projects/template.hbs @@ -65,10 +65,18 @@ {{/if}}
+ {{#each f.model.errors as |error|}} +
+ +
+ {{/each}} + Update + @triggerValidations={{true}} + >Update +
diff --git a/app/styles/projects.scss b/app/styles/projects.scss index d54c46f55..8020226bb 100644 --- a/app/styles/projects.scss +++ b/app/styles/projects.scss @@ -119,3 +119,8 @@ width: 20%; } } + +.validation-error-icon { + margin: auto 0.5rem; + color: $color-warning; +}