CourseWork/resources/views/students/show.blade.php

27 lines
1010 B
PHP
Raw Normal View History

2024-04-23 14:52:49 +04:00
@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">
2024-04-27 15:10:21 +04:00
<h5><strong>ФИО: </strong>{{ $student->fio }}</h5>
2024-04-23 14:52:49 +04:00
</div>
<div class="mb-3">
2024-04-27 15:10:21 +04:00
<h5><strong>Класс: </strong>{{ $student->grade->name }}</h5>
2024-04-23 14:52:49 +04:00
</div>
<div class="mb-3">
2024-04-27 15:10:21 +04:00
<h5><strong>Дата рождения: </strong>{{ $student->birthday }}</h5>
2024-04-23 14:52:49 +04:00
</div>
</div>
<div class="card-footer">
2024-04-27 15:10:21 +04:00
<a href="{{ route('students.edit', $student) }}" class="btn btn-primary">Редактировать</a>
2024-04-23 14:52:49 +04:00
</div>
</div>
</div>
</div>
@endsection