mirror of
https://github.com/jointakahe/takahe.git
synced 2024-12-24 14:30:27 +00:00
25 lines
638 B
HTML
25 lines
638 B
HTML
{% extends "base.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 %}
|