mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2025-12-14 06:36:46 +00:00
🔧 feat(project-support): add delete and edit buttons for project proposals in the index view.
This commit is contained in:
@@ -181,10 +181,12 @@ $delete = function ($id) {
|
|||||||
<div class="flex justify-between items-center mt-3">
|
<div class="flex justify-between items-center mt-3">
|
||||||
@if($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id)
|
@if($currentPleb && $currentPleb->id === $project->einundzwanzig_pleb_id)
|
||||||
<x-button
|
<x-button
|
||||||
|
xs
|
||||||
negative
|
negative
|
||||||
wire:click="confirmDelete({{ $project->id }})"
|
wire:click="confirmDelete({{ $project->id }})"
|
||||||
label="Löschen"/>
|
label="Löschen"/>
|
||||||
<x-button
|
<x-button
|
||||||
|
xs
|
||||||
:href="route('association.projectSupport.edit', ['projectProposal' => $project])"
|
:href="route('association.projectSupport.edit', ['projectProposal' => $project])"
|
||||||
label="Editieren"/>
|
label="Editieren"/>
|
||||||
@endif
|
@endif
|
||||||
|
|||||||
Reference in New Issue
Block a user