PushingScores/templates/diverge.html

29 lines
716 B
HTML

{% extends "layout.html" %}
{% block content %}
<div class="description">
<div class="diverge_all">
<p>Sentences that have <i>{{ searchterm }}</i> in common : </p><br>
{% for word in wordlist_dict %}
{% if searchterm == word %}
{% set length_d = wordlist_dict[word]|length %}
<div class="diverge_list">
{% for item in wordlist_dict[word] %}
{% set address = "/description?id=" + item['id'] %}
<a href={{address}} class="diverge">
{{ item['sentence'] }}
</a><br>
<span class="folder-corner">└ from {{ item['id'] }} — {{index_dict[ item['id'] ]}}</span>
<br><br><br>
{% endfor %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% endblock %}