mirror of
https://github.com/jointakahe/takahe.git
synced 2024-11-26 17:21:00 +00:00
25 lines
644 B
HTML
25 lines
644 B
HTML
{% extends "base_plain.html" %}
|
|
|
|
{% block title %}Debug JSON{% endblock %}
|
|
|
|
{% block body_class %}no-sidebar{% endblock %}
|
|
|
|
{% block content %}
|
|
<form action="." method="POST">
|
|
{% csrf_token %}
|
|
<fieldset>
|
|
{% include "forms/_field.html" with field=form.uri %}
|
|
</fieldset>
|
|
<div class="buttons">
|
|
<button>Debug</button>
|
|
</div>
|
|
</form>
|
|
{% if result %}
|
|
|
|
<p>Canonacalized Response: (view source for raw)</p>
|
|
<div id="raw-json-result" style="display: none;">
|
|
{{ raw_result|escape }}
|
|
</div>
|
|
<pre>{{ result }}</pre>
|
|
{% endif %}
|
|
{% endblock %}
|