Roman_applicant-site/resources/views/admin/admission/show.blade.php

20 lines
679 B
PHP
Raw Normal View History

@extends('layouts.admin_layout')
@section('content')
@auth()
<div class="container mt-4">
<h2>Название</h2>
<p>{{ $admission->name }}</p>
<h2>Описание</h2>
<p>{{ $admission->description }}</p>
<h2>Позиция</h2>
<p>{{ $admission->position }}</p>
<h2>URL</h2>
<p>{{ $admission->slug }}</p>
<h2>Документы</h2>
@foreach($admission->documents as $document)
<p><a href="{{ route('documents.show', $document) }}">{{ $document->name }}</a></p>
@endforeach
</div>
@endauth
@endsection