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

26 lines
1018 B
PHP
Raw Permalink Normal View History

2024-02-12 15:02:31 +03:00
@extends('layouts.admin_layout')
2024-02-08 15:59:44 +03:00
@section('content')
@auth()
<h6>
<a href="{{ route('educational_institutions.show', $educationalInstitution) }}">
2024-02-12 09:19:08 +03:00
{{ $educationalInstitution->name }}
2024-02-08 15:59:44 +03:00
</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>URL</h2>
<p>{{ $department->slug }}</p>
2024-02-12 09:19:08 +03:00
<h2>Направления подготовки</h2>
@foreach($department->directions as $direction)
<p><a href="{{ route('faculties.show', $direction) }}">{{ $direction->name }}</a></p>
@endforeach
2024-02-08 15:59:44 +03:00
</div>
@endauth
@endsection