<commit_before>{% load dynamiq_tags %}

{% render_dynamiq_advanced_formset request dynamiq.formset %}<commit_msg>[fix #422] Fill advanced action form<commit_after>{% load dynamiq_tags %}

{% render_dynamiq_advanced_formset request dynamiq.formset %}

{% comment %}
form "action" parameter is filled in javascript by dynamiq, but for this it needs a model select (for choosing which model to search). We don't have this
select for now, so fill the parameter on our side.
Nota: trying to fix this in dynamiq upstream is not that easy, because, initially being made for admin, the URL depends on the searched model (via a
data-xxx paramter set on all the select options).
{% endcomment %}
<script type="text/javascript">
$('.search_form').each(function(idx, item) {
    item.action = "{% url search %}";
});
</script>
{'fraction_non_alphanumeric': 0.10442260442260443, 'fraction_numerical': 0.0036855036855036856, 'mean_word_length': 5.221374045801527, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7537477', 'n_tokens_mistral': 247, 'n_tokens_neox': 226, 'n_words': 99}