Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrique Alcantara <ealcantara@gitlab.com>2019-03-22 22:04:41 +0300
committerEnrique Alcantara <ealcantara@gitlab.com>2019-04-03 22:23:04 +0300
commitca32773dbfc345de551f8b107692d1995e717fa3 (patch)
tree9a66b79028bddecb9e304ddfcd3bff291449efd8 /app/assets
parent6ba1a8e9f3a5998319b41d1bab5f4abec0bd0587 (diff)
Display inline validation error messages
In the new cluster forms, display form error messages below form fields instead of a summary banner on top of the form. Include client side validation in order to display user friendly error messages. Also remove unnecessary placeholders.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/framework/forms.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/assets/stylesheets/framework/forms.scss b/app/assets/stylesheets/framework/forms.scss
index 3b1d1d67509..8dd1489af4f 100644
--- a/app/assets/stylesheets/framework/forms.scss
+++ b/app/assets/stylesheets/framework/forms.scss
@@ -204,8 +204,10 @@ label {
margin-top: #{$grid-size / 2};
}
-.gl-field-error {
+.gl-field-error,
+.invalid-feedback {
color: $red-500;
+ font-size: $gl-font-size;
}
.gl-show-field-errors {