20 lines
743 B
PHP
20 lines
743 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>URL</h2>
|
|
<p>{{ $educationalInstitution->slug }}</p>
|
|
<h2>Факультеты</h2>
|
|
@foreach($educationalInstitution->faculties as $faculty)
|
|
<p><a href="{{ route('faculties.show', $faculty) }}">{{ $faculty->name }}</a></p>
|
|
@endforeach
|
|
</div>
|
|
@endauth
|
|
@endsection
|