No images in this repository’s iceberg at this time
Download raw (749 bytes)
{% extends "aacore/base.html" %} {% block body %} <form action="." method="post" accept-charset="utf-8" style="margin-top: 100px;">{% csrf_token %} {{ form.as_p }} <p><input type="submit" value="Execute"></p> </form> {% if results.bindings %} <p>There are {{ results|length }} results:</p> <table border="1"> <thead> <tr> {% for var in results.vars %} <td>{{ var }}</td> {% endfor %} </tr> </thead> <tbody> {% for binding in results.bindings %} <tr> {% for key, value in binding.items %} <td><a href="{% url "aa-browse" %}?node={{ value }}">{{ value }}</td> {% endfor %} </tr> {% endfor %} </tbody> </table> {% endif %} {% endblock %}