From 52a7982b2d9774d568f1c62c7949c14043a68f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Maci=C4=85g?= Date: Fri, 3 Jun 2022 12:08:18 +0200 Subject: [PATCH] Add missing .form-label classes in BS5 forms --- resources/views/bootstrap-5/form-group.blade.php | 2 +- resources/views/bootstrap-5/form-input-group.blade.php | 2 +- resources/views/bootstrap-5/form-input.blade.php | 2 +- resources/views/bootstrap-5/form-range.blade.php | 2 +- resources/views/bootstrap-5/form-select.blade.php | 2 +- resources/views/bootstrap-5/form-textarea.blade.php | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/views/bootstrap-5/form-group.blade.php b/resources/views/bootstrap-5/form-group.blade.php index 3719afd..5928c96 100644 --- a/resources/views/bootstrap-5/form-group.blade.php +++ b/resources/views/bootstrap-5/form-group.blade.php @@ -1,5 +1,5 @@
merge(['class' => ($hasError($name) ? 'is-invalid' : '')]) !!}> - +
{!! $slot !!} diff --git a/resources/views/bootstrap-5/form-input-group.blade.php b/resources/views/bootstrap-5/form-input-group.blade.php index 779e00a..6dffbdf 100644 --- a/resources/views/bootstrap-5/form-input-group.blade.php +++ b/resources/views/bootstrap-5/form-input-group.blade.php @@ -1,5 +1,5 @@
- +
merge(['class' => 'input-group' . ($hasError($name) ? ' is-invalid' : '')]) !!}> {!! $slot !!} diff --git a/resources/views/bootstrap-5/form-input.blade.php b/resources/views/bootstrap-5/form-input.blade.php index b531fbe..b8df3cf 100644 --- a/resources/views/bootstrap-5/form-input.blade.php +++ b/resources/views/bootstrap-5/form-input.blade.php @@ -2,7 +2,7 @@ @if($floating)
@endif @if(!$floating) - + @endif + merge(['class' => 'form-range' . ($hasError($name) ? ' is-invalid' : '')]) !!} diff --git a/resources/views/bootstrap-5/form-select.blade.php b/resources/views/bootstrap-5/form-select.blade.php index 4c51724..7f96f15 100644 --- a/resources/views/bootstrap-5/form-select.blade.php +++ b/resources/views/bootstrap-5/form-select.blade.php @@ -1,7 +1,7 @@ @if($floating)
@endif @if(!$floating) - + @endif