diff --git a/app/Http/Controllers/Admin/EducationController.php b/app/Http/Controllers/Admin/EducationController.php index 56db14f..b0d73d3 100644 --- a/app/Http/Controllers/Admin/EducationController.php +++ b/app/Http/Controllers/Admin/EducationController.php @@ -137,5 +137,4 @@ class EducationController extends Controller return redirect()->route('admin.education.edit', ['education' => $education]); } - } diff --git a/resources/views/admin/education/form.blade.php b/resources/views/admin/education/form.blade.php index 3f2a6ac..030e1a4 100644 --- a/resources/views/admin/education/form.blade.php +++ b/resources/views/admin/education/form.blade.php @@ -147,6 +147,7 @@ @endphp @foreach ($program as $pro) + @php $name_tab = $pro->level; @endphp @if ((!empty($level)) && ($level <> $pro->level)) @@ -156,7 +157,14 @@ @if ($bool == true)
- + +
+ + + +
+ +

Специальность:

- {{$pro->name}} + {{ mb_strimwidth($pro->name, 0, 50, "...") }}

@endforeach @@ -201,9 +208,9 @@ @endisset - + - + diff --git a/resources/views/admin/education/program-edit.blade.php b/resources/views/admin/education/program-edit.blade.php index 0376d3c..558f6c2 100644 --- a/resources/views/admin/education/program-edit.blade.php +++ b/resources/views/admin/education/program-edit.blade.php @@ -6,7 +6,7 @@
- +
diff --git a/resources/views/admin/education/program.blade.php b/resources/views/admin/education/program.blade.php index 85547e3..3d7ca1e 100644 --- a/resources/views/admin/education/program.blade.php +++ b/resources/views/admin/education/program.blade.php @@ -37,6 +37,11 @@ + + Назад
- Описание: {{$pro->text}} + Описание: {{ mb_strimwidth($pro->text, 0, 100, "...")}} Изменить | Удалить -