From e9d34a99b84762bef4ed6a5dafd86e18b507b32d Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 14 Aug 2024 21:32:57 -0700 Subject: [PATCH] Missing template from previous commit, refs #2389 --- datasette/templates/csrf_error.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 datasette/templates/csrf_error.html diff --git a/datasette/templates/csrf_error.html b/datasette/templates/csrf_error.html new file mode 100644 index 0000000000..7cd4b42b28 --- /dev/null +++ b/datasette/templates/csrf_error.html @@ -0,0 +1,13 @@ +{% extends "base.html" %} +{% block title %}CSRF check failed){% endblock %} +{% block content %} +

Form origin check failed

+ +

Your request's origin could not be validated. Please return to the form and submit it again.

+ +
Technical details +

Developers: consult Datasette's CSRF protection documentation.

+

Error code is {{ message_name }}.

+
+ +{% endblock %}