mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-19 15:31:23 +02:00
fix: htmx aware error handling
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
{% extends 'body_base.html' %}
|
||||
{% block main %}
|
||||
<main class="container justify-center flex-grow flex mx-auto mt-4">
|
||||
<div class="flex flex-col space-y-4 text-center">
|
||||
<div class="flex flex-col space-y-4 text-center justify-center">
|
||||
<h1 class="text-2xl font-bold text-error">
|
||||
{{ status_code }}
|
||||
</h1>
|
||||
<p class="text-2xl my-4">{{ error }}</p>
|
||||
<p class="text-2xl my-4">{{ title }}</p>
|
||||
<p class="text-base-content/60">{{ description }}</p>
|
||||
<a href="/" class="btn btn-primary mt-8">Go Home</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user