File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
resources/views/smart-ad-manager Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ class="block w-full mt-1 text-sm dark:text-gray-300 dark:border-gray-600 dark:bg
56
56
57
57
<div x-show =" adType == 'IMAGE'" >
58
58
<div >
59
- <img src =" {{ asset ($smartAd -> image )} }" alt =" {{ $smartAd -> imageAlt } }" />
59
+ <img src =" {{ asset (' storage/ ' . $smartAd -> image )} }" alt =" {{ $smartAd -> imageAlt } }" />
60
60
<label class =" w-96 mt-4 block text-sm" >
61
61
<span class =" text-gray-700 dark:text-gray-400" >Change Image File</span >
62
62
<input type =" file" name =" image" class =" form-control block w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 rounded transition ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none" id =" formFile" >
@@ -135,7 +135,7 @@ class="block w-full mt-1 text-sm dark:border-gray-600 dark:bg-gray-700 focus:bor
135
135
{
136
136
position: '{{ $placement -> position } } ',
137
137
selector: '{{ $placement -> selector } } ',
138
- style: '{{ $placement -> style } } '
138
+ style: '{{ isset ( $placement -> style ) ? $placement -> style : ' ' } } '
139
139
},
140
140
@endforeach
141
141
@else
You can’t perform that action at this time.
0 commit comments