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

20 lines
743 B
PHP
Raw Normal View History

2024-02-07 19:27:25 +03:00
@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>
2024-02-07 19:27:25 +03:00
<h2>Факультеты</h2>
@foreach($educationalInstitution->faculties as $faculty)
<p><a href="{{ route('faculties.show', $faculty) }}">{{ $faculty->name }}</a></p>
@endforeach
</div>
@endauth
@endsection