diff --git a/resources/components/button/error.blade.php b/resources/components/button/error.blade.php new file mode 100644 index 0000000..631d1cc --- /dev/null +++ b/resources/components/button/error.blade.php @@ -0,0 +1,9 @@ +@if(isset($row) && $row) +
+
+@endif + @error($name)@enderror +@if(isset($row) && $row) +
+
+@endif \ No newline at end of file diff --git a/resources/components/button/success.blade.php b/resources/components/button/success.blade.php index 113de13..3c76c69 100644 --- a/resources/components/button/success.blade.php +++ b/resources/components/button/success.blade.php @@ -1 +1,9 @@ -@session('success')@endsession \ No newline at end of file +@if(isset($row) && $row) +
+
+@endif + @session('success')@endsession +@if(isset($row) && $row) +
+
+@endif \ No newline at end of file diff --git a/resources/components/form/base.blade.php b/resources/components/form/base.blade.php index c854c6e..6f4a2b1 100644 --- a/resources/components/form/base.blade.php +++ b/resources/components/form/base.blade.php @@ -1,5 +1,5 @@ @if(isset($label)) - + @endisset
diff --git a/resources/components/form/checkbox.blade.php b/resources/components/form/checkbox.blade.php new file mode 100644 index 0000000..4749341 --- /dev/null +++ b/resources/components/form/checkbox.blade.php @@ -0,0 +1,5 @@ + +
+ +
+
\ No newline at end of file diff --git a/resources/components/form/date.blade.php b/resources/components/form/date.blade.php index b5342e2..7dea1d4 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 bfe4f0d..33b638c 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 f850ef7..75f12f4 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/password.blade.php b/resources/components/form/password.blade.php index 032cb55..4d26875 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/select.blade.php b/resources/components/form/select.blade.php index a2b7caa..a570f6b 100644 --- a/resources/components/form/select.blade.php +++ b/resources/components/form/select.blade.php @@ -1,6 +1,6 @@ - @if(isset($addvalues) && $addvalues) @endif @@ -29,7 +29,7 @@ +@append \ No newline at end of file