mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 05:56:07 +00:00

Use `jetzig server` or `zig build -Ddebug_console=true run` to launch a development server with the debug console enabled. When an error is encountered a formatted stack trace is dumped to the browser along with the current response data. Both outputs are syntax-highlighted using Prism JS.
11 lines
295 B
Plaintext
11 lines
295 B
Plaintext
<form action="/anti_csrf" method="POST">
|
|
{{context.authenticityFormElement()}}
|
|
|
|
<label>Enter spam here:</label>
|
|
<input type="text" name="spam" />
|
|
|
|
<input type="submit" value="Submit Spam" />
|
|
</form>
|
|
|
|
<div>Try clearing `_jetzig_session` cookie before clicking "Submit Spam"</div>
|