From 0b416e49dd72ecfa1a5f544380ad259190a80526 Mon Sep 17 00:00:00 2001 From: Jens Pelzetter Date: Wed, 18 Nov 2020 17:04:59 +0100 Subject: [PATCH] Base component for Bootstrap form groups --- .../components/bootstrap/formGroup.xhtml | 33 +++++++++++++++ .../components/bootstrap/formGroupText.xhtml | 41 +++++++++---------- 2 files changed, 52 insertions(+), 22 deletions(-) create mode 100644 ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroup.xhtml diff --git a/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroup.xhtml b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroup.xhtml new file mode 100644 index 000000000..615f7a3d6 --- /dev/null +++ b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroup.xhtml @@ -0,0 +1,33 @@ + + + + + + + + + + +
+ + + + #{cc.attrs.help} + +
+
+ + diff --git a/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupText.xhtml b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupText.xhtml index 60f4a856e..2f0cd4f8c 100644 --- a/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupText.xhtml +++ b/ccm-core/src/main/resources/META-INF/resources/components/bootstrap/formGroupText.xhtml @@ -1,5 +1,6 @@ - @@ -52,27 +53,23 @@ type="String" /> - -
has value
-
-
- - - - #{cc.attrs.help} - -
+ + + + +