2024-02-12 15:02:31 +03:00
|
|
|
@extends('layouts.admin_layout')
|
2024-02-08 16:01:40 +03:00
|
|
|
@section('content')
|
|
|
|
@auth()
|
2024-02-12 14:55:17 +03:00
|
|
|
<h6><a href="{{ route('educational_institutions.show', $faculty->educationalInstitution) }}">{{ $faculty->educationalInstitution->name }}</a> -> {{ $faculty->name }}</h6>
|
2024-02-08 16:01:40 +03:00
|
|
|
<div class="container mt-4">
|
|
|
|
<h2>Название</h2>
|
|
|
|
<p>{{ $faculty->name }}</p>
|
|
|
|
<h2>Описание</h2>
|
|
|
|
<p>{{ $faculty->description }}</p>
|
|
|
|
<h2>Позиция</h2>
|
|
|
|
<p>{{ $faculty->position }}</p>
|
2024-02-12 14:55:17 +03:00
|
|
|
<h2>URL</h2>
|
|
|
|
<p>{{ $faculty->slug }}</p>
|
2024-02-08 16:01:40 +03:00
|
|
|
<h2>Кафедры</h2>
|
|
|
|
@foreach($faculty->departments as $department)
|
|
|
|
<p><a href="{{ route('departments.show', $department) }}">{{ $department->name }}</a></p>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
|
|
|
@endauth
|
|
|
|
@endsection
|