fix tests error show view on examination type

This commit is contained in:
aslan 2024-02-17 10:10:57 +03:00
parent 1e0cf9a9e0
commit f5d69e9c7f
1 changed files with 7 additions and 5 deletions

View File

@ -3,14 +3,16 @@
@auth() @auth()
<div class="container mt-4"> <div class="container mt-4">
<h2>Название</h2> <h2>Название</h2>
<p>{{ $educationForm->name }}</p> <p>{{ $examinationType->name }}</p>
<h2>Описание</h2> <h2>Описание</h2>
<p>{{ $educationForm->description }}</p> <p>{{ $examinationType->description }}</p>
<h2>URL</h2> <h2>URL</h2>
<p>{{ $educationForm->slug }}</p> <p>{{ $examinationType->slug }}</p>
<h2>Позиция</h2>
<p>{{ $examinationType->position }}</p>
<h2>Направления</h2> <h2>Направления</h2>
@foreach($directions as $direction) @foreach($examinationType->entranceExaminations as $entranceExamination)
<p><a href="{{ route('directions.show', $direction) }}">{{ $direction->name }}</a></p> <p><a href="{{ route('entrance_examinations.show', $entranceExamination) }}">{{ $entranceExamination->name }}</a></p>
@endforeach @endforeach
</div> </div>
@endauth @endauth