CourseWork/resources/views/teachers/show.blade.php
m.zargarov 3ed3475e6a Fixes
2024-04-27 15:10:21 +04:00

24 lines
856 B
PHP

@extends('layouts.app')
@section('content')
<div class="container col-md-6">
<div class="row justify-content-center">
<div class="card">
<div class="card-header">{{ ('Учитель') }}</div>
<div class="card-body">
<div class="mb-3">
<h5><strong>ФИО: </strong>{{ $teacher->fio }}</h5>
</div>
<div class="mb-3">
<h5><strong>Дата рождения: </strong>{{ $teacher->birthday }}</h5>
</div>
</div>
<div class="card-footer">
<a href="{{ route('teachers.edit', $teacher) }}" class="btn btn-primary">Редактировать</a>
</div>
</div>
</div>
</div>
@endsection