24 lines
950 B
PHP
24 lines
950 B
PHP
@extends('layouts.admin-layout')
|
|
@section('content')
|
|
@auth()
|
|
<h6>
|
|
<a href="{{ route('educational_institutions.show', $educationalInstitution) }}">
|
|
{{ $educationalInstitution->name }}
|
|
</a>-> <a href="{{ route('faculties.show', $faculty) }}">{{ $faculty->name }}</a>
|
|
-> {{ $department->name }}
|
|
</h6>
|
|
<div class="container mt-4">
|
|
<h2>Название</h2>
|
|
<p>{{ $department->name }}</p>
|
|
<h2>Описание</h2>
|
|
<p>{{ $department->description }}</p>
|
|
<h2>Позиция</h2>
|
|
<p>{{ $department->position }}</p>
|
|
<h2>Направления подготовки</h2>
|
|
@foreach($department->directions as $direction)
|
|
<p><a href="{{ route('faculties.show', $direction) }}">{{ $direction->name }}</a></p>
|
|
@endforeach
|
|
</div>
|
|
@endauth
|
|
@endsection
|