From 4df04df2e9fde2ece488cb0d2ecb9a18fc653734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Tue, 17 Oct 2023 14:26:24 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D1=80=D0=B5=D0=B7=D0=B0=D0=BD=D0=B8=D0?= =?UTF-8?q?=B5=20=D1=81=D0=BB=D0=BE=D0=B2=20=D1=83=20=D0=BE=D0=B1=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20-=20strsub?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/education/form.blade.php | 9 ++++++--- resources/views/admin/education/index.blade.php | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/resources/views/admin/education/form.blade.php b/resources/views/admin/education/form.blade.php index d35a3c1..e5f2244 100644 --- a/resources/views/admin/education/form.blade.php +++ b/resources/views/admin/education/form.blade.php @@ -99,10 +99,11 @@ >Добавить специализацию
@if ((isset($program1)) && ($program1->count())) @foreach ($program1 as $prog1) +


+
@endforeach @else Нет записей @@ -114,10 +115,11 @@ >Добавить специализацию
@if ((isset($program2)) && ($program2->count())) @foreach ($program2 as $prog2) +


+
@endforeach @else Нет записей @@ -129,10 +131,11 @@ >Добавить специализацию
@if ((isset($program3)) && ($program3->count())) @foreach ($program3 as $prog3) +


+
@endforeach @else Нет записей diff --git a/resources/views/admin/education/index.blade.php b/resources/views/admin/education/index.blade.php index 36e5db9..4fa10ba 100644 --- a/resources/views/admin/education/index.blade.php +++ b/resources/views/admin/education/index.blade.php @@ -35,7 +35,7 @@ {{$cat->id}} - {{mb_strimwidth($cat->name, 0, 65, "...")}} + {{ substr($cat->name, 0, 65)}} -- 1.7.10.4