Richte die Redaktionsformulare an den Mockups aus.
Abschnitte, Medienkarten, Einordnung und Auswahl folgen der vorgegebenen Form. Datenmodell und Fassungen bleiben unverändert.
This commit is contained in:
1 parent
4c29ab2593
commit
b9fe0e3791
16 files changed
+559
-339
No files matched your search
@@ -6,27 +6,30 @@
|
||||
'dimensions' => \App\Domain\Catalog\EditorialDimension::forSubject($this->getRecord()),
|
||||
];
|
||||
@endphp
|
||||
<div class="luf-field">
|
||||
<label for="redaktion-art">Inhaltsart</label>
|
||||
<select id="redaktion-art" wire:model="kindId" @disabled(! $editable)>
|
||||
<option value="">Keine</option>
|
||||
@foreach ($options['kinds'] as $id => $label)
|
||||
<option value="{{ $id }}">{{ $label }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
<fieldset class="luf-checks">
|
||||
<legend>Fachliche Säulen</legend>
|
||||
@foreach ($options['pillars'] as $pillar)
|
||||
<label><input type="checkbox" value="{{ $pillar->id }}" wire:model="pillarIds" @disabled(! $editable)> {{ $pillar->name }}</label>
|
||||
<div class="vw-formular">
|
||||
<h3>Einordnung</h3>
|
||||
<p class="luf-note">Inhaltsart, Säule und Einordnung sind keine Dateiart und keine Freigabe.</p>
|
||||
<div class="luf-field">
|
||||
<label for="redaktion-art">Inhaltsart</label>
|
||||
<select id="redaktion-art" wire:model="kindId" @disabled(! $editable)>
|
||||
<option value="">Keine</option>
|
||||
@foreach ($options['kinds'] as $id => $label)
|
||||
<option value="{{ $id }}">{{ $label }}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</div>
|
||||
@include('filament.verwaltung.chipgruppe', [
|
||||
'legend' => 'Fachliche Säulen',
|
||||
'model' => 'pillarIds',
|
||||
'disabled' => ! $editable,
|
||||
'values' => $options['pillars']->map(fn ($pillar): array => ['id' => $pillar->id, 'label' => $pillar->name])->all(),
|
||||
])
|
||||
@foreach ($options['dimensions'] as $dimension)
|
||||
@include('filament.verwaltung.chipgruppe', [
|
||||
'legend' => $dimension->label,
|
||||
'model' => 'dimensionIds',
|
||||
'disabled' => ! $editable,
|
||||
'values' => collect($dimension->values)->map(fn ($value): array => ['id' => $value->id, 'label' => $value->label])->all(),
|
||||
])
|
||||
@endforeach
|
||||
</fieldset>
|
||||
@foreach ($options['dimensions'] as $dimension)
|
||||
<fieldset class="luf-checks">
|
||||
<legend>{{ $dimension->label }}</legend>
|
||||
@foreach ($dimension->values as $value)
|
||||
<label><input type="checkbox" value="{{ $value->id }}" wire:model="dimensionIds" @disabled(! $editable)> {{ $value->label }}</label>
|
||||
@endforeach
|
||||
</fieldset>
|
||||
@endforeach
|
||||
<p class="luf-note">Inhaltsart, Säule und Einordnung sind keine Dateiart und keine Freigabe.</p>
|
||||
</div>
|
||||
Reference in new issue
Block a user