A free open source IT asset/license management system
Include help icon in help text component
snipe2caaedff3809
diff --git a/resources/views/blade/form/checkbox-row.blade.php b/resources/views/blade/form/checkbox-row.blade.phpindex 7bc5729027..f6c3e61515 100644--- a/resources/views/blade/form/checkbox-row.blade.php+++ b/resources/views/blade/form/checkbox-row.blade.php@@ -8,6 +8,7 @@'required' => null,'disabled' => false,'help_text' => null,+ 'help_icon' => null,'info_tooltip_text' => null,// Default input column: only skip the offset when a left-hand label// column is being rendered (i.e. multi mode with a label). Single mode@@ -134,7 +135,7 @@@if ($help_text)<div class="col-md-8 col-md-offset-3">- <x-form.help :name="$name">{!! $help_text !!}</x-form.help>+ <x-form.help :name="$name" :icon="$help_icon">{!! $help_text !!}</x-form.help></div>@endifdiff --git a/resources/views/blade/form/radio-row.blade.php b/resources/views/blade/form/radio-row.blade.phpindex c6229764b9..d382c54d5c 100644--- a/resources/views/blade/form/radio-row.blade.php+++ b/resources/views/blade/form/radio-row.blade.php@@ -7,6 +7,7 @@'required' => null,'disabled' => false,'help_text' => null,+ 'help_icon' => null,'info_tooltip_text' => null,// Default input column depends on whether the row has a left-hand label.// With a label, the row already spends col-md-3 on the left; without one@@ -76,7 +77,7 @@@if ($help_text)<div class="col-md-8 col-md-offset-3">- <x-form.help :name="$name">{!! $help_text !!}</x-form.help>+ <x-form.help :name="$name" :icon="$help_icon">{!! $help_text !!}</x-form.help></div>@endifdiff --git a/resources/views/blade/form/row.blade.php b/resources/views/blade/form/row.blade.phpindex 0187f225cb..14ca7f7622 100644--- a/resources/views/blade/form/row.blade.php+++ b/resources/views/blade/form/row.blade.php@@ -5,6 +5,7 @@'item' => null,'info_tooltip_text' => null,'help_text' => null,+ 'help_icon' => null,'label' => null,'input_div_class' => 'col-md-8','errors_class' => $errors->has('support_url') ? ' has-error' : '',@@ -61,7 +62,7 @@@if ($help_text)<!-- Help Text --><div class="col-md-8 col-md-offset-3">- <x-form.help :name="$name">{!! $help_text !!}</x-form.help>+ <x-form.help :name="$name" :icon="$help_icon">{!! $help_text !!}</x-form.help></div>@endifdiff --git a/resources/views/blade/input/quantity.blade.php b/resources/views/blade/input/quantity.blade.phpindex 2daa343ba2..77b5c84024 100644--- a/resources/views/blade/input/quantity.blade.php+++ b/resources/views/blade/input/quantity.blade.php@@ -8,6 +8,7 @@'max' => null,'value' => null,'help_text' => null,+ 'help_icon' => null,])<div@@ -38,7 +39,7 @@<div class="col-md-12" style="padding-left: 0"><x-form.error :name="$name" />@if ($help_text)- <x-form.help :name="$name">{{ $help_text }}</x-form.help>+ <x-form.help :name="$name" :icon="$help_icon">{{ $help_text }}</x-form.help>@endif</div></div>