{# A preview's sentences, and, for a paper, the Title and Citekey fields it fills or empties, out of band, each with what kennis put there. #} {% from "forms/add-input.html" import typed_input with context %} {% if found %}

{{ found.label }}{% if found.year %}{{ found.year }}{% endif %}

{% if found.title %}

{{ found.title }}

{% endif %} {% if found.authors %}

{{ found.authors }}

{% endif %}
{% endif %} {% if ways | default(()) %}
{{ icon("triangle-alert") }}
{% for line in lines %}

{{ line.text }}

{% endfor %}

{% for way in ways %}{% if way.outside %}{{ icon("arrow-up-right") }}{{ way.label }}{% else %}{{ way.label }}{% endif %} {% endfor %}

{% else %}{% for line in lines %}

{{ line.text }}

{% endfor %}{% endif %} {% for field, value in redraws | default([]) %}{{ typed_input(field, value) }} {% endfor %}