Big update for category controller - for admin panel

This commit is contained in:
2022-02-15 15:26:10 +01:00
parent 982438a26e
commit 38e5a8f485
19 changed files with 363 additions and 14 deletions

View File

@@ -0,0 +1,11 @@
<div class="projects">
<header><h1>Projekty</h1></header>
<a href="{{ route('admin.category.create') }}">
<button>Utwórz nowy projekt</button>
</a>
<ul class="project_items">
@foreach ($projects as $project)
<li class="project_element">{{ $project->title }} | <a href="{{ route('admin.category.edit', ['category' => $project->id]) }}">Edytuj</a></li>
@endforeach
<ul>
</div>