<commit_before><div class="group-detail columns small-12 large-8">
    {{partial '_itemheader'}}

<h3>Additional properties to display</h3>

<ul class="small-block-grid-2 large-block-grid-6">
    {{#each property in model.showProperties}}
    <li>{{#confirm-button action='removeProperty' param=model param2=property}}{{property.niceName}}{{/confirm-button}}</li>
    {{/each}}
</ul>

{{ember-selectize
content=sortedProperties
optionValuePath="content.id"
optionLabelPath="content.niceName"
selection=propertyToAdd
placeholder="Select a property" }}
<button {{action 'addProperty' model propertyToAdd}}>{{fa-icon 'plus'}} Add</button>

<h3>Types</h3>

<table style="width: 100%;">
{{#each type in model.types}}
    <tbody>
    <tr>
        <td>{{#draggable-item content=type.id}}{{type.name}}{{/draggable-item}}</td>
        <td>{{type.vendor}}</td>
        <td>{{#link-to 'footprints.show' type.footprint}}{{type.footprint.name}}{{/link-to}}</td>
        <td>{{#link-to 'types.show' type}}{{type.available}}{{/link-to}}</td>
        {{#each property in model.showProperties}}
            <td>{{property-value entity=type property=property}}</td>
        {{/each}}
    </tr>
    <tr>
        <td {{bind-attr colspan=typeColumns}}>{{type.summary}}</td>
    </tr>
    </tbody>
{{/each}}
</table>
</div><commit_msg>Add type table header<commit_after><div class="group-detail columns small-12 large-8">
    {{partial '_itemheader'}}

<h3>Additional properties to display</h3>

<ul class="small-block-grid-2 large-block-grid-6">
    {{#each property in model.showProperties}}
    <li>{{#confirm-button action='removeProperty' param=model param2=property}}{{property.niceName}}{{/confirm-button}}</li>
    {{/each}}
</ul>

{{ember-selectize
content=sortedProperties
optionValuePath="content.id"
optionLabelPath="content.niceName"
selection=propertyToAdd
placeholder="Select a property" }}
<button {{action 'addProperty' model propertyToAdd}}>{{fa-icon 'plus'}} Add</button>

<h3>Types</h3>

<table style="width: 100%;">
    <thead>
    <tr>
        <th>Name</th>
        <th>Vendor</th>
        <th>Footprint</th>
        <th>Available</th>
        {{#each property in model.showProperties}}
            <th>{{property.name}} [{{property.unit.symbol}}]</th>
        {{/each}}
    </tr>
    </thead>
{{#each type in model.types}}
    <tbody>
    <tr>
        <td>{{#draggable-item content=type.id}}{{type.name}}{{/draggable-item}}</td>
        <td>{{type.vendor}}</td>
        <td>{{#link-to 'footprints.show' type.footprint}}{{type.footprint.name}}{{/link-to}}</td>
        <td>{{#link-to 'types.show' type}}{{type.available}}{{/link-to}}</td>
        {{#each property in model.showProperties}}
            <td>{{property-value entity=type property=property}}</td>
        {{/each}}
    </tr>
    <tr>
        <td {{bind-attr colspan=typeColumns}}>{{type.summary}}</td>
    </tr>
    </tbody>
{{/each}}
</table>
</div>
{'fraction_non_alphanumeric': 0.21249570889117747, 'fraction_numerical': 0.008925506350841057, 'mean_word_length': 3.816528925619835, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, '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': '5828709', 'n_tokens_mistral': 1013, 'n_tokens_neox': 967, 'n_words': 169}