From bc3a954cde7a56f18c1508b6a1111292a343d932 Mon Sep 17 00:00:00 2001 From: David Hemphill Date: Fri, 3 Nov 2017 00:44:41 -0500 Subject: [PATCH 1/2] Add some form examples --- docs/source/_layouts/documentation.blade.php | 3 +- docs/source/docs/examples/forms.blade.md | 166 +++++++++++++++++++ 2 files changed, 168 insertions(+), 1 deletion(-) create mode 100644 docs/source/docs/examples/forms.blade.md diff --git a/docs/source/_layouts/documentation.blade.php b/docs/source/_layouts/documentation.blade.php index a1ee4b40c..1f28fcafe 100644 --- a/docs/source/_layouts/documentation.blade.php +++ b/docs/source/_layouts/documentation.blade.php @@ -156,8 +156,9 @@

Examples

diff --git a/docs/source/docs/examples/forms.blade.md b/docs/source/docs/examples/forms.blade.md new file mode 100644 index 000000000..9dfa836f1 --- /dev/null +++ b/docs/source/docs/examples/forms.blade.md @@ -0,0 +1,166 @@ +--- +extends: _layouts.documentation +title: "Forms" +--- + +# Forms + +
+
+
+
+ +
+
+

Work in progress!

+

More detailed examples are coming soon.

+
+
+
+
+ +## Login Form + +@component('_partials.code-sample', ['class' => 'px-3 py-10 bg-grey-lighter flex justify-center']) +
+
+
+ + +
+
+ + +
+
+ + + Forgot Password? + +
+
+

+ ©{{ date('Y') }} Acme Corp. All rights reserved. +

+
+@endcomponent + +## Inline Form + +@component('_partials.code-sample', ['class' => 'flex justify-center p-8']) +
+
+
+ +
+
+ +
+
+
+
+ +
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+@endcomponent + +## Form Grid + +@component('_partials.code-sample', ['class' => 'flex justify-center p-8']) +
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+@endcomponent + + +## Underline Form + +@component('_partials.code-sample', ['class' => 'flex justify-center p-8']) +
+
+ + + +
+
+@endcomponent From a85d521574608122421816a26bb65ec928373cc3 Mon Sep 17 00:00:00 2001 From: David Hemphill Date: Fri, 3 Nov 2017 10:29:56 -0500 Subject: [PATCH 2/2] Fix some label's and add some error examples --- docs/source/docs/examples/forms.blade.md | 31 +++++++++++++----------- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/docs/source/docs/examples/forms.blade.md b/docs/source/docs/examples/forms.blade.md index 9dfa836f1..28f49a885 100644 --- a/docs/source/docs/examples/forms.blade.md +++ b/docs/source/docs/examples/forms.blade.md @@ -25,16 +25,17 @@ title: "Forms"
-
-