applicant-site/resources/views/admin/catalog/direction/subject/show.blade.php

20 lines
748 B
PHP
Raw Permalink Normal View History

2024-02-17 11:30:32 +03:00
@extends('layouts.admin_layout')
@section('content')
@auth()
<div class="container mt-4">
<h2>Название</h2>
<p>{{ $subject->name }}</p>
<h2>Описание</h2>
<p>{{ $subject->description }}</p>
<h2>URL</h2>
<p>{{ $subject->slug }}</p>
<h2>Позиция</h2>
<p>{{ $subject->position }}</p>
<h2>Вступительные испытания</h2>
@foreach($subject->entranceExaminations as $entranceExamination)
<p><a href="{{ route('entrance_examinations.show', $entranceExamination) }}">{{ $entranceExamination->name }}</a></p>
@endforeach
</div>
@endauth
@endsection