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