@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">

                <div class="col-12">


                    <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">
                                        <strong>This is the first item's accordion body.</strong> It is shown by default, until the collapse plugin adds the appropriate classes that we use to style each element. These classes control the overall appearance, as well as the showing and hiding via CSS transitions. You can modify any of this with custom CSS or overriding our default variables. It's also worth noting that just about any HTML can go within the <code>.accordion-body</code>, though the transition does limit overflow.
                                    </div>
                                </div>
                            </div>
                        @endforeach



                    </div>


                    <br>
                    <br>
                    <br>
                    <br>
                    <br>


                </div>







                    {!! $nachrichten->render() !!}

                    <br>
                    <br>
                    <br>
                    <br>
            </div>
        </section>




@stop


@section('scripts')

@stop