<commit_before>
{%- block field_admin_actions_formatter -%}
function (value, row, index) {
    var html = ''
    {% for index, action in actions -%}
    var prototype = '{{ rest_action_link_prototype(action, {
        label: action_labels[index],
        attr: action_attrs[index]
    })|raw }}',
        mappings = {{ action.prototypeParamsMapping()|json_encode|raw }}
    $.each(mappings, function(placeholder, property_path) {
        prototype = prototype.replace(placeholder, objectPath.get(row, property_path))
    })
    html += prototype
    {% endfor %}
    return html
}
{%- endblock -%}

{#&#123;&#35; Table actions field &#35;&#125;#}
{#{% block field_admin_actions %}#}
{#{% for action in actions %}#}
    {#{{ rest_action_link_prototype(action)|raw }}#}
{#{% endfor %}#}
{#{% endblock %}#}<commit_msg>Fix table template<commit_after>
{%- block field_admin_actions_formatter -%}
function (value, row, index) {
    var html = ''
    {% for index, action in actions -%}
    var prototype = '{{ rest_action_link_prototype(action, {
        label: action_labels[index],
        attr: action_attrs[index]
    })|e('js') }}',
        mappings = {{ action.prototypeParamsMapping()|json_encode|raw }}
    $.each(mappings, function(placeholder, property_path) {
        prototype = prototype.replace(placeholder, objectPath.get(row, property_path))
    })
    html += prototype
    {% endfor %}
    return html
}
{%- endblock -%}

{#&#123;&#35; Table actions field &#35;&#125;#}
{#{% block field_admin_actions %}#}
{#{% for action in actions %}#}
    {#{{ rest_action_link_prototype(action)|raw }}#}
{#{% endfor %}#}
{#{% endblock %}#}
{'fraction_non_alphanumeric': 0.1793776693105552, 'fraction_numerical': 0.012202562538133009, 'mean_word_length': 3.924924924924925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6320777', 'n_tokens_mistral': 562, 'n_tokens_neox': 524, 'n_words': 104}