Fixed - Guides

Added - contacts visual (controller coming soon)
This commit is contained in:
Anders
2020-08-05 09:23:57 +02:00
parent b4634d4933
commit a78e7d90f6
9 changed files with 83 additions and 12 deletions
@@ -12,12 +12,13 @@
</style>
<main>
<h1 class="text-center sde-blue mt-0">Vejledninger</h1>
@foreach($guides as $guide)
<h2 class="text-center sde-blue mt-0">{{ $guide->name }}</h2>
{!! $guide->guide_articles !!}
<hr class="w-100">
@endforeach
@if(count($guides) < 1)
@if(!$guides->isEmpty())
@foreach($guides as $guide)
<h2 class="text-center sde-blue mt-0">{{ $guide->name }}</h2>
{!! $guide->guide_articles !!}
<hr class="w-100">
@endforeach
@else
<p style="margin: 0 18px;">Der er ingen vejledninger.</p>
@endif
</main>