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->text}} + Описание: {{ mb_strimwidth($pro->text, 0, 100, "...")}} | Изменить | Удалить - |