fix bug in verwaltung textblöcke
This commit is contained in:
1 parent
731a2d8aee
commit
79ccecf579
2 files changed
+10
-3
No files matched your search
@@ -20,7 +20,9 @@ use Illuminate\Support\HtmlString;
|
||||
@endif
|
||||
|
||||
</x-slot>
|
||||
{{ new HtmlString(RichContentRenderer::make($record->textblock)->toHtml()) }}
|
||||
@if (isset($record->textblock))
|
||||
{{ new HtmlString(RichContentRenderer::make($record->textblock)->toHtml()) }}
|
||||
@endif
|
||||
</x-filament::fieldset>
|
||||
<?php
|
||||
if($record->textblock2 != ""){
|
||||
@@ -35,7 +37,9 @@ if($record->textblock2 != ""){
|
||||
<span class="text-blue-600 dark:text-blue-400">Textblock Abschnitt B</span>
|
||||
@endif
|
||||
</x-slot>
|
||||
{{ new HtmlString(RichContentRenderer::make($record->textblock2)->toHtml()) }}
|
||||
@if (isset($record->textblock2))
|
||||
{{ new HtmlString(RichContentRenderer::make($record->textblock2)->toHtml()) }}
|
||||
@endif
|
||||
</x-filament::fieldset>
|
||||
<?php
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user