Add breadcrumbs to admin projects views

- Implement breadcrumbs for index, create, edit, and show views.
This commit is contained in:
2026-07-25 01:20:54 +05:00
parent e11815b795
commit b8efe490a7
4 changed files with 5 additions and 0 deletions
@@ -1,5 +1,6 @@
@section('meta_title', __('admin-sections.Projects'))
@section('h1', __('admin-sections.Projects'))
@section('breadcrumbs', Breadcrumbs::render('admin.projects.create'))
<x-admin.layout>
@include('admin.projects._top')
<div class="row">
@@ -1,11 +1,13 @@
@section('meta_title', __('admin-sections.Projects'))
@section('h1', __('admin-sections.Projects'))
@section('breadcrumbs', Breadcrumbs::render('admin.projects.edit', $project))
<x-admin.layout>
@include('admin.projects._top')
<div class="row">
<div class="col-12 mb-4">
<div class="card border-0 shadow components-section">
<div class="card-body">
<h3 id="category" class="mb-4">{{ __('admin-sections.Project') . ': ' . $project->name }}</h3>
<form method="post" action="{{ route('admin.projects.update', $project) }}">
@method('PUT')
@include('admin.projects._from')
@@ -1,5 +1,6 @@
@section('meta_title', __('admin-sections.Projects'))
@section('h1', __('admin-sections.Projects'))
@section('breadcrumbs', Breadcrumbs::render('admin.projects.index'))
<x-admin.layout>
@include('admin.projects._top')
<div class="card border-0 shadow mb-4">
@@ -1,5 +1,6 @@
@section('meta_title', __('admin-sections.Project') . ': ' . $project->name)
@section('h1', __('admin-sections.Project') . ': ' . $project->name)
@section('breadcrumbs', Breadcrumbs::render('admin.projects.show', $project))
<x-admin.layout>
@include('admin.projects._top')
<div class="card border-0 shadow mb-4">