Ergebnis des aktuellen Votings:
@foreach($entry->options()->get() as $option)
- {{ $option->title }}: {{ $option->count }}
@endforeach
@endif
@endforeach
@php
$list = array();
$archived = array();
foreach ($entries as $entry) {
if (strpos(get_class($entry), "Voting") !== false) {
if ($entry->archived === 1) {
$archived[] = $entry;
} else {
$list[] = $entry;
}
} else {
$list[] = $entry;
}
}
@endphp
@if (count($list) > 0)
Es kann nur ein Aktionsmodul aktiviert sein. Um ein neues zu aktivieren, löschen Sie das aktivierte Modul:
@include('partials.list', $list)
@endif
@if (count($archived) > 0)
Archivierte Ergebnisse:
@foreach ($archived as $entry)
{{ $entry->title }}
@foreach($entry->options()->get() as $option)
- {{ $option->title }}: {{ $option->count }}
@endforeach
@endforeach
@endif
@endsection
@section('back_button')