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-11-29 18:33:43 +00:00
{!! !empty($content->description)?$content->description:'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