🔧 feat(project-support): add delete and edit buttons for project proposals in the index view.

This commit is contained in:
fsociety
2024-10-24 18:09:53 +02:00
parent ebf6dd039d
commit 0144e7ba01

View File

@@ -181,10 +181,12 @@ $delete = function ($id) {
<div class="flex justify-between items-center mt-3">
@if($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id)
<x-button
xs
negative
wire:click="confirmDelete({{ $project->id }})"
label="Löschen"/>
<x-button
xs
:href="route('association.projectSupport.edit', ['projectProposal' => $project])"
label="Editieren"/>
@endif