<commit_before>{% load i18n %}
{% load staticfiles %}
{% load url from future %}

<div id="block_selection_modal" class="fp-modal fp-fade hide fullscreen"
     role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="fp-modal-header">
        <button class="fp-close" data-dismiss="modal">×</button>
        <h3>Add content</h3>
    </div>

    <form id="{{ container.uid }}_add_block_form"
          data-behaviours='submit-block-form'
          method="post" action="{% url "fp-api:block-list" %}" class="add-content">
        {% csrf_token %}
        <input name="container" value="" type="hidden"/>
        <div class="fp-modal-body">

            <div class='fp-tabbable'>
                <ul class="fp-nav-tabs">
                {% for group in grouped_blocks %}
                    <li {% if forloop.first %}class="active"{% endif %}>
                        <a href="#{{ container.uid }}-{{ group|slugify }}" data-toggle="tab">{{ group }}</a>
                    </li>
                {% endfor %}
                </ul>
                <div class="fp-tab-content">
                    {% for group,block_list in grouped_blocks.items %}
                    <div class="fp-tab-pane {% if forloop.first %}active{% endif %}" id="{{ container.uid }}-{{ group|slugify }}">
                        <ul class="fp-widget-list">
                            {% for fp_block in block_list %}
                            <li>
                                <button type="submit" class="fp-btn" name="code" value="{{ fp_block.0 }}">
                                    <div class="image_container"><commit_msg>Update some missing IDs in block select modal html<commit_after>{% load i18n %}
{% load staticfiles %}
{% load url from future %}

<div id="block_selection_modal" class="fp-modal fp-fade hide fullscreen"
     role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="fp-modal-header">
        <button class="fp-close" data-dismiss="modal">×</button>
        <h3>Add content</h3>
    </div>

    <form id="add_block_form"
          data-behaviours='submit-block-form'
          method="post" action="{% url "fp-api:block-list" %}" class="add-content">
        {% csrf_token %}
        <input name="container" value="" type="hidden"/>
        <div class="fp-modal-body">

            <div class='fp-tabbable'>
                <ul class="fp-nav-tabs">
                {% for group in grouped_blocks %}
                    <li {% if forloop.first %}class="active"{% endif %}>
                        <a href="#{{ group|slugify }}" data-toggle="tab">{{ group }}</a>
                    </li>
                {% endfor %}
                </ul>
                <div class="fp-tab-content">
                    {% for group,block_list in grouped_blocks.items %}
                    <div class="fp-tab-pane {% if forloop.first %}active{% endif %}" id="{{ group|slugify }}">
                        <ul class="fp-widget-list">
                            {% for fp_block in block_list %}
                            <li>
                                <button type="submit" class="fp-btn" name="code" value="{{ fp_block.0 }}">
                                    <div class="image_container">
{'fraction_non_alphanumeric': 0.1635239567233385, 'fraction_numerical': 0.0030911901081916537, 'mean_word_length': 1.7610921501706485, 'pattern_counts': {'":': 0, '<': 49, '<?xml version=': 0, '>': 49, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7057315', 'n_tokens_mistral': 982, 'n_tokens_neox': 896, 'n_words': 195}