Ekapp/skolehjem/resources/views/app/guides/show.blade.php

29 lines
685 B
PHP
Raw Normal View History

@extends("app.layout.base")
@section("title")
Vejledninger
@endsection
@section("content")
<main>
<div>
@if($guide->resource_id !== null)
<div class="header text-center">
2020-12-01 10:14:41 +00:00
<img class="w-100" src="{{ asset(\App\Resource::query()->where("id", "=", $guide->resource_id)->first()->filename) }}">
</div>
@endif
<h2 class="text-center sde-blue">{{ $guide->name }}</h2>
{!!$guide->guide_articles!!}
</div>
<button onclick="window.history.back()" class="btn btn-sde-blue text-white mb-1 mt-auto" >{{__('msg.tilbage')}}</button>
</main>
@endsection