diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-05 14:58:29 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-06 11:00:01 +0100 |
commit | 2f53a8d08f3b1595dfa48c308e408083b89651f4 (patch) | |
tree | 210d058bb75aed5f89e8d8fa66b4edc116de9a8d /app/views | |
parent | a68f1fdd2975a9e7cab39ab7d40e3eae2cc676db (diff) | |
download | gitlab-ce-2f53a8d08f3b1595dfa48c308e408083b89651f4.tar.gz |
Shows error if response returns an errorissue-boards-new-issue
Added validation so the user shouldnt be able to submit the form without the title present
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/boards/components/_board.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/boards/components/_board.html.haml b/app/views/projects/boards/components/_board.html.haml index 26b2236b581..ba1502c97b6 100644 --- a/app/views/projects/boards/components/_board.html.haml +++ b/app/views/projects/boards/components/_board.html.haml @@ -46,6 +46,9 @@ "v-show" => "list.type !== 'done' && showIssueForm" } .card.board-new-issue-form %form{ "@submit" => "submit($event)" } + .flash-container{ "v-if" => "error" } + .flash-alert + An error occured. Please try again. %label.label-light{ ":for" => "list.id + '-title'" } Title %input.form-control{ type: "text", |