diff --git a/resources/views/partials/form/number_group.blade.php b/resources/views/partials/form/number_group.blade.php index 3d9a0bd22..5f30c7bff 100644 --- a/resources/views/partials/form/number_group.blade.php +++ b/resources/views/partials/form/number_group.blade.php @@ -2,7 +2,11 @@
+ :class="[{'has-error': {{ isset($attributes['v-error']) ? $attributes['v-error'] : 'form.errors.get("' . $name . '")' }} }]" + @if (isset($attributes['show'])) + v-if="{{ $attributes['show'] }}" + @endif + > @if (!empty($text)) {!! Form::label($name, $text, ['class' => 'form-control-label'])!!} @endif