diff --git a/resources/views/partials/label2-preview.blade.php b/resources/views/partials/label2-preview.blade.php new file mode 100644 index 0000000000..7b826f6d4b --- /dev/null +++ b/resources/views/partials/label2-preview.blade.php @@ -0,0 +1,76 @@ +@once + @push('css') + + @endpush +@endonce + +@push('js') + +@endpush + +
+ + +
diff --git a/resources/views/settings/labels.blade.php b/resources/views/settings/labels.blade.php index 1209f6df75..63bf660573 100644 --- a/resources/views/settings/labels.blade.php +++ b/resources/views/settings/labels.blade.php @@ -20,30 +20,6 @@ } - - {{ Form::open(['id' => 'settingsForm', 'method' => 'POST', 'files' => false, 'autocomplete' => 'off', 'class' => 'form-horizontal', 'role' => 'form' ]) }} {{csrf_field()}} @@ -83,8 +59,7 @@
{{ Form::label('label2_template', trans('admin/settings/general.label2_template')) }} -
{{ Form::button('Refresh Preview', ['class'=>'btn btn-default btn-sm', 'style'=>'width:100%', 'onClick'=>'refreshPreview()']) }}
-
+ @include('partials.label2-preview')