takahe/templates/activities/debug_json.html

26 lines
644 B
HTML
Raw Normal View History

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