20 lines
748 B
PHP
20 lines
748 B
PHP
@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
|