delte-trip-btn #585
@ -242,7 +242,7 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endmacro show_old %}
|
||||
{% macro home(log) %}
|
||||
{% macro home(log, allowed_to_close=false) %}
|
||||
<form class="grid grid-cols-1 gap-3"
|
||||
action="/log/{{ log.id }}"
|
||||
method="post">
|
||||
@ -279,4 +279,8 @@
|
||||
</details>
|
||||
<input class="btn btn-primary" type="submit" value="Ausfahrt beenden" />
|
||||
</form>
|
||||
<a href="/log/{{ log.id }}/delete"
|
||||
class="btn btn-alert w-full absolute bottom-0 left-0"
|
||||
style="border-radius: 0"
|
||||
onclick="return confirm('Willst du diesen Eintrag wirklich löschen? Die Daten gehen verloren');">Löschen</a>
|
||||
{% endmacro home %}
|
||||
|
Loading…
Reference in New Issue
Block a user