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

81 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">
2021-11-30 18:29:25 +00:00
<h1 class="mt-2">{{ $list->name }}</h1>
2021-09-16 11:32:24 +00:00
<br>
2021-11-30 18:29:25 +00:00
@if (isset($list))
{{ $list->description }}
2021-09-16 11:32:24 +00:00
@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">
2021-11-30 18:29:25 +00:00
@foreach($contents as $content)
2021-09-16 15:49:52 +00:00
<div class="accordion-item">
2021-11-30 18:29:25 +00:00
<h2 class="accordion-header" id="heading{{$content->id}}">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapse{{$content->id}}" aria-expanded="true" aria-controls="collapse{{$content->id}}">
{{$content->title}}
2021-09-16 15:49:52 +00:00
</button>
</h2>
2021-11-30 18:29:25 +00:00
<div id="collapse{{$content->id}}" class="accordion-collapse collapse" aria-labelledby="heading{{$content->id}}" data-bs-parent="#accordionExample">
2021-09-16 15:49:52 +00:00
<div class="accordion-body">
2021-11-30 18:29:25 +00:00
{!! isset($content->data_fields['antwort'])?$content->data_fields['antwort']:'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
2021-11-30 18:29:25 +00:00
{!! $contents->render() !!}
2021-09-16 11:32:24 +00:00
<br>
<br>
<br>
<br>
</div>
</section>
@stop
@section('scripts')
2022-09-08 13:29:50 +00:00
@stop