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' => 'redaktion-teaser', 'label' => 'Teaser', 'model' => 'teaser', 'kind' => 'textarea', 'rows' => 2, 'value' => $this->teaser, 'field' => 'teaser'],
['id' => 'redaktion-kurz', 'label' => 'Kurzbeschreibung', 'model' => 'summary', 'kind' => 'textarea', 'rows' => 3, 'value' => $this->summary, 'field' => 'summary'],
['id' => 'redaktion-beschreibung', 'label' => 'Ausführliche Beschreibung', 'model' => 'description', 'kind' => 'textarea', 'rows' => 8, 'value' => $this->description, 'field' => 'description'],
['id' => 'redaktion-suche', 'label' => 'Suchbegriffe', 'model' => 'searchTerms', 'kind' => 'text', 'value' => $this->searchTerms, 'origin' => 'Freie Suche, keine Klassifikation', 'placeholder' => 'Begriffe für die Suche'],
['id' => 'redaktion-suche', 'label' => 'Suchbegriffe', 'model' => 'searchTerms', 'kind' => 'text', 'value' => $this->searchTerms, 'origin' => null, 'placeholder' => 'Begriffe für die Suche'],
];
@endphp
<div class="vw-formular">
@@ -20,7 +20,7 @@
'kind' => $feld['kind'],
'rows' => $feld['rows'] ?? 3,
'value' => $feld['value'],
'origin' => $feld['origin'] ?? (isset($feld['field']) ? $profile->originLabel($feld['field']) : null),
'origin' => $feld['origin'] ?? (isset($feld['field']) && in_array($profile->origin($feld['field']), ['eigen', 'quelle', 'variante'], true) ? $profile->originLabel($feld['field']) : null),
'placeholder' => $feld['placeholder'] ?? '',
'disabled' => ! $editable,
])