cross-readers/cross-reader.adj-pre/templates/results.html

19 lines
517 B
HTML

{% extends "base.html" %}
{% block title %} {% endblock %}
{% block txtlist %}
{% endblock %}
{% block results %}
{% if results == {} %}
<div>No sentences.</div>
{% else %}
<h1><em>cross readings</em> <br>through <em>{{ word }}</em> ({{ word_type }})</h1>
{% for document, sentences in results['sentences'].items() %}
{% for sentence in sentences %}
<div class="{{ word_type }} sentence">{{ sentence }} <small>({{ document }})</small></div>
{% endfor %}
{% endfor %}
{% endif %}
{% endblock %}