<commit_before>{% extends 'base.html' %}
{% load i18n %}
{% load bootstrap3 %}

{% block content %}
<div class="container">

    <div class="row">
        <div class="col-md-12">
            <div class="page-header">
                <h1>{% trans "Frequently asked questions" %}</h1>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="panel-group" id="accordion">
            {% if faqs %}
                {% for faq in faqs %}
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title"><a data-toggle="collapse" data-parent="#accordion" href="#content-{{ faq.id }}">{{ faq.title }}</a></h4>
                        </div>
                        <div id="content-{{ faq.id }}" class="panel-collapse collapse in">
                            <div class="panel-body">
                                {{faq.content|safe}}
                            </div>
                        </div>
                    </div>
                {% endfor %}
            {% else %}
                <p>{% trans "This site doesn't contain any answers at the moment." %}</p>
            {% endif %}
            </div>
        </div>
    </div>
    <a class="btn btn-primary" href="{% url 'home' %}">{% trans "Back" %}</a>
</div>
{% endblock %}
<commit_msg>Remove a now redundant 'back' button<commit_after>{% extends 'base.html' %}
{% load i18n %}
{% load bootstrap3 %}

{% block content %}
<div class="container">

    <div class="row">
        <div class="col-md-12">
            <div class="page-header">
                <h1>{% trans "Frequently asked questions" %}</h1>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12">
            <div class="panel-group" id="accordion">
            {% if faqs %}
                {% for faq in faqs %}
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            <h4 class="panel-title"><a data-toggle="collapse" data-parent="#accordion" href="#content-{{ faq.id }}">{{ faq.title }}</a></h4>
                        </div>
                        <div id="content-{{ faq.id }}" class="panel-collapse collapse in">
                            <div class="panel-body">
                                {{faq.content|safe}}
                            </div>
                        </div>
                    </div>
                {% endfor %}
            {% else %}
                <p>{% trans "This site doesn't contain any answers at the moment." %}</p>
            {% endif %}
            </div>
        </div>
    </div>
</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.1719260065288357, 'fraction_numerical': 0.00797968806673921, 'mean_word_length': 1.286898839137645, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '676143', 'n_tokens_mistral': 838, 'n_tokens_neox': 752, 'n_words': 184}