Richte Redaktionskarten und Redaktionskopf am Zeilenlayout aus.
Deploy Test / test (push) Successful in 1m3s
Deploy Test / deploy (push) Successful in 23s

This commit is contained in:
Lars committed 2026-11-19 21:31:39 +01:00
1 parent b9fe0e3791
commit 41658d98dd
12 files changed
+248 -68

No files matched your search

@@ -7,7 +7,7 @@
['id' => 'artikel-teaser', 'label' => 'Teaser', 'model' => 'teaser', 'kind' => 'textarea', 'rows' => 2, 'value' => $this->teaser, 'field' => 'teaser'],
['id' => 'artikel-kurz', 'label' => 'Kurzbeschreibung', 'model' => 'summary', 'kind' => 'textarea', 'rows' => 4, 'value' => $this->summary, 'field' => 'summary'],
['id' => 'artikel-beschreibung', 'label' => 'Ausführliche Beschreibung', 'model' => 'descriptionText', 'kind' => 'textarea', 'rows' => 6, 'value' => $this->descriptionText, 'field' => 'description'],
['id' => 'artikel-suche', 'label' => 'Suchbegriffe', 'model' => 'searchTerms', 'kind' => 'text', 'value' => $this->searchTerms, 'origin' => 'Freie Suche, keine Klassifikation'],
['id' => 'artikel-suche', 'label' => 'Suchbegriffe', 'model' => 'searchTerms', 'kind' => 'text', 'value' => $this->searchTerms, 'origin' => null],
];
@endphp
<div class="vw-formular">
@@ -24,13 +24,10 @@
'kind' => $feld['kind'],
'rows' => $feld['rows'] ?? 3,
'value' => $feld['value'] !== '' ? $feld['value'] : ($fromSource ? $profile->value($field) : ''),
'origin' => $feld['origin'] ?? ($field ? $profile->originLabel($field) : null),
'origin' => $feld['origin'] ?? ($field && in_array($profile->origin($field), ['eigen', 'quelle', 'variante'], true) ? $profile->originLabel($field) : null),
'placeholder' => $fromSource ? (string) $profile->value($field) : '',
'disabled' => ! $editable,
])
@if ($fromSource)
<p class="vw-quellenblick">Übernommenen Text ansehen: {{ $profile->value($field) }}</p>
@endif
@endforeach
@include('filament.editorial.variants')
</div>