From 037abb17496a9d0fcbf2c415014190a287e70705 Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 22 Aug 2024 21:42:02 +1000 Subject: [PATCH] $classes should be $class, added form.number/time components --- resources/components/form/date.blade.php | 2 +- resources/components/form/email.blade.php | 2 +- resources/components/form/file.blade.php | 2 +- resources/components/form/number.blade.php | 3 +++ resources/components/form/password.blade.php | 2 +- resources/components/form/textarea.blade.php | 2 +- resources/components/form/time.blade.php | 3 +++ 7 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 resources/components/form/number.blade.php create mode 100644 resources/components/form/time.blade.php diff --git a/resources/components/form/date.blade.php b/resources/components/form/date.blade.php index 258aa54..f1ff228 100644 --- a/resources/components/form/date.blade.php +++ b/resources/components/form/date.blade.php @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/resources/components/form/email.blade.php b/resources/components/form/email.blade.php index d851536..fa3c0f1 100644 --- a/resources/components/form/email.blade.php +++ b/resources/components/form/email.blade.php @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/resources/components/form/file.blade.php b/resources/components/form/file.blade.php index 6e416c6..c50f19f 100644 --- a/resources/components/form/file.blade.php +++ b/resources/components/form/file.blade.php @@ -1,5 +1,5 @@ - + {{ $slot }} diff --git a/resources/components/form/number.blade.php b/resources/components/form/number.blade.php new file mode 100644 index 0000000..3c61a61 --- /dev/null +++ b/resources/components/form/number.blade.php @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/resources/components/form/password.blade.php b/resources/components/form/password.blade.php index d82f6cb..13a3c8c 100644 --- a/resources/components/form/password.blade.php +++ b/resources/components/form/password.blade.php @@ -1,3 +1,3 @@ - + \ No newline at end of file diff --git a/resources/components/form/textarea.blade.php b/resources/components/form/textarea.blade.php index 4752503..60f1ba8 100644 --- a/resources/components/form/textarea.blade.php +++ b/resources/components/form/textarea.blade.php @@ -10,7 +10,7 @@ @endif
- + @error($old ?? $name) {{ $message }} diff --git a/resources/components/form/time.blade.php b/resources/components/form/time.blade.php new file mode 100644 index 0000000..8fdbe30 --- /dev/null +++ b/resources/components/form/time.blade.php @@ -0,0 +1,3 @@ + + + \ No newline at end of file