asdasd
This commit is contained in:
@@ -292,6 +292,7 @@ $eventsPast = $stmt->fetchAll(PDO::FETCH_ASSOC) ?: [];
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex gap-8" style="flex-wrap: wrap;">
|
||||
<a class="btn ghost" href="/dashboard?edit_event=<?= (int)$e['id'] ?>#events">Bearbeiten</a>
|
||||
<?php if ((int)$e['participant_count'] === 0): ?>
|
||||
<form method="post" action="/dashboard#events" onsubmit="return confirm('Event wirklich löschen?');">
|
||||
<input type="hidden" name="action" value="event_delete">
|
||||
@@ -333,6 +334,9 @@ $eventsPast = $stmt->fetchAll(PDO::FETCH_ASSOC) ?: [];
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex gap-8" style="flex-wrap: wrap;">
|
||||
<a class="btn ghost" href="/dashboard?edit_event=<?= (int)$e['id'] ?>#events">Bearbeiten</a>
|
||||
</div>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
@@ -541,7 +545,7 @@ $eventsPast = $stmt->fetchAll(PDO::FETCH_ASSOC) ?: [];
|
||||
</div>
|
||||
</div>
|
||||
<label class="label" style="display:flex; align-items:center; gap:8px;">
|
||||
<input type="checkbox" name="allow_kids" checked> Kinder erlaubt
|
||||
<input type="checkbox" name="allow_kids"> Treffen ohne Kinder
|
||||
</label>
|
||||
<div class="flex gap-12">
|
||||
<button class="btn ghost" type="button" data-modal-close>Abbrechen</button>
|
||||
|
||||
Reference in New Issue
Block a user