takahe/templates/activities/debug_json.html

26 lines
638 B
HTML
Raw Normal View History

2022-12-18 10:00:21 -08:00
{% 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 %}
2022-12-20 00:19:00 -08:00
<p>Canonacalized Response: (view source for raw)</p>
<div id="raw-json-result" style="display: none;">
{{ raw_result|escape }}
</div>
2022-12-18 10:00:21 -08:00
<pre>{{ result }}</pre>
{% endif %}
{% endblock %}