[PATCH] [Wok] Form validation: Enabled .has-feedback icons

From: Samuel Guimarães <sguimaraes943@gmail.com> This patch enables Font-Awesome icons when a .from-group has .has-feedback and .has-error or .has-warning classes. This is required to "Disable Template when it has invalid parameters" v2 that will be sent in this list. Samuel Guimarães (1): Enabled .has-feedback icons ui/css/src/modules/_wok-forms.scss | 6 ++++++ ui/css/wok.css | 6 ++++++ 2 files changed, 12 insertions(+) -- 1.9.3

From: Samuel Guimarães <sguimaraes943@gmail.com> Signed-off-by: Samuel Guimarães <sguimaraes943@gmail.com> --- ui/css/src/modules/_wok-forms.scss | 6 ++++++ ui/css/wok.css | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/ui/css/src/modules/_wok-forms.scss b/ui/css/src/modules/_wok-forms.scss index c3f722a..8fb684f 100644 --- a/ui/css/src/modules/_wok-forms.scss +++ b/ui/css/src/modules/_wok-forms.scss @@ -44,6 +44,12 @@ label { display: none; } +.has-warning.has-feedback .form-control-feedback, +.has-error.has-feedback .form-control-feedback { + display: block; + right: 5px; +} + .has-loading .form-control-feedback.wok-loading-icon { display: block; margin-right: 10px; diff --git a/ui/css/wok.css b/ui/css/wok.css index 4e94b30..b0f2908 100644 --- a/ui/css/wok.css +++ b/ui/css/wok.css @@ -1093,6 +1093,12 @@ label { display: none; } +.has-warning.has-feedback .form-control-feedback, +.has-error.has-feedback .form-control-feedback { + display: block; + right: 5px; +} + .has-loading .form-control-feedback.wok-loading-icon { display: block; margin-right: 10px; -- 1.9.3
participants (2)
-
Aline Manera
-
sguimaraes943@gmail.com