Merge pull request 'delte-trip-btn' (#585) from delte-trip-btn into staging
All checks were successful
CI/CD Pipeline / test (push) Successful in 10m5s
CI/CD Pipeline / deploy-staging (push) Successful in 5m37s
CI/CD Pipeline / deploy-main (push) Has been skipped

Reviewed-on: #585
This commit is contained in:
philipp 2024-06-10 19:08:17 +02:00
commit 1215bdbd84

View File

@ -279,4 +279,8 @@
</details> </details>
<input class="btn btn-primary" type="submit" value="Ausfahrt beenden" /> <input class="btn btn-primary" type="submit" value="Ausfahrt beenden" />
</form> </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 %} {% endmacro home %}