alpakas-theme/content/lists/faq.blade.php

89 lines
2.0 KiB
PHP
Raw Normal View History

2021-09-16 11:32:24 +00:00
@extends('template.'.config('settings.template').'.content.master')
@section('content')
<div class="row" style="padding-top: 60px;">
<div class="col-xs-12">
<h1 class="mt-2">{{ $listModel->name }}</h1>
<br>
@if (isset($listModel))
{{ $listModel->description }}
@endif
</div>
</div>
<section>
<div class="row">
2021-09-16 15:49:52 +00:00
<div class="col-12">
2021-09-16 11:32:24 +00:00
2021-09-16 15:49:52 +00:00
<div class="accordion" id="accordionExample">
@foreach($nachrichten as $nach)
<div class="accordion-item">
<h2 class="accordion-header" id="heading{{$nach->id}}">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{$nach->id}}" aria-expanded="true" aria-controls="collapse{{$nach->id}}">
{{$nach->title}}
</button>
</h2>
<div id="collapse{{$nach->id}}" class="accordion-collapse collapse" aria-labelledby="heading{{$nach->id}}" data-bs-parent="#accordionExample">
<div class="accordion-body">
2021-09-16 16:01:39 +00:00
{!! isset($nach->additional_fields['2']) ? $nach->additional_fields['2'] : 'keine Angaben' !!}
2021-09-16 15:49:52 +00:00
</div>
</div>
</div>
@endforeach
2021-09-16 11:32:24 +00:00
2021-09-16 15:49:52 +00:00
</div>
2021-09-16 11:32:24 +00:00
2021-09-16 15:49:52 +00:00
<br>
<br>
<br>
<br>
<br>
2021-09-16 11:32:24 +00:00
2021-09-16 15:49:52 +00:00
</div>
2021-09-16 11:32:24 +00:00
{!! $nachrichten->render() !!}
<br>
<br>
<br>
<br>
</div>
</section>
@stop
@section('scripts')
@stop