{% if not ids_sentence and not ids_article and not text_sentence %}
Please select one column with checkbox to print out. 

{% else %}

        {% if ids_sentence %}
            
        {% endif %}
        
        {% if ids_article %}
            
        {% endif %}
        {% if text_sentence %}
                  
        {% endif %}
    
    {% for sent in sentences %}
    
        {% if ids_sentence %}
            
        {% endif %}
        
        {% if ids_article %}
            
        {% endif %}

        {% if text_sentence %}
            
        {% endif %}
    
    {% endfor %}
Sentence IDArticle IDSentence
{{sent.id}}{{sent.aid}}{{sent.txt}}
{% endif %}