<commit_before>
{% if can_write() %}
    {% if is_out_of_space() %}
	    {% set disabled_class = "disabled" %}
	{% endif %}

    <div class="recording-actions top-buffer-md">
        <div class="pull-left">
            
            <a class="right-buffer-sm btn btn-default btn-xs {{disabled_class}}" 
                href="{{ get_path(user, coll, rec) }}/$add"
                aria-label="Record more in session '{{ recording.title }}'"
                title="Record more in session '{{ recording.title }}'">
                <span class="glyphicon glyphicon-record" aria-hidden="true"></span>
            </a>

            <button type="button" class="right-buffer-sm btn btn-default btn-xs" 
                aria-label="Edit recording title '{{ recording.title }}'"
                title="Edit recording title '{{ recording.title }}'">
                <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
            </button>

            <button type="button" 
                class="right-buffer-sm btn btn-default btn-xs" 
                aria-label="Move recording '{{ recording.title }}' to another collection"
                title="Move recording '{{ recording.title }}' to another collection">
                <span class="glyphicon glyphicon-export" aria-hidden="true"></span>
            </button>

            {% if can_admin() %}
                <a class="right-buffer-sm btn btn-default btn-xs" 
                    aria-label="Download recording '{{ recording.title }}'"
                    title="Download recording '{{ recording.title }}'"
                    href="{{ recording.download_url }}">
                    <span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>
                </a>
            {% endif %}<commit_msg>fix bug with add to recording button<commit_after>
{% if can_write() %}
    {% if is_out_of_space() %}
	    {% set disabled_class = "disabled" %}
	{% endif %}

    <div class="recording-actions top-buffer-md">
        <div class="pull-left">
            
            <a class="right-buffer-sm btn btn-default btn-xs {{disabled_class}}" 
                href="{{ get_path(user, coll, recording.id) }}/$add"
                aria-label="Record more in session '{{ recording.title }}'"
                title="Record more in session '{{ recording.title }}'">
                <span class="glyphicon glyphicon-record" aria-hidden="true"></span>
            </a>

            <button type="button" class="right-buffer-sm btn btn-default btn-xs" 
                aria-label="Edit recording title '{{ recording.title }}'"
                title="Edit recording title '{{ recording.title }}'">
                <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
            </button>

            <button type="button" 
                class="right-buffer-sm btn btn-default btn-xs" 
                aria-label="Move recording '{{ recording.title }}' to another collection"
                title="Move recording '{{ recording.title }}' to another collection">
                <span class="glyphicon glyphicon-export" aria-hidden="true"></span>
            </button>

            {% if can_admin() %}
                <a class="right-buffer-sm btn btn-default btn-xs" 
                    aria-label="Download recording '{{ recording.title }}'"
                    title="Download recording '{{ recording.title }}'"
                    href="{{ recording.download_url }}">
                    <span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span>
                </a>
            {% endif %}
{'fraction_non_alphanumeric': 0.1481378543635353, 'fraction_numerical': 0.0, 'mean_word_length': 1.9260162601626016, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '523434', 'n_tokens_mistral': 1003, 'n_tokens_neox': 890, 'n_words': 212}