<commit_before>{% extends 'OroUIBundle:actions:view.html.twig' %}
{% import 'OroDataGridBundle::macros.html.twig' as dataGrid %}

{% oro_title_set({params : {"%name%": entity.defaultLabel }}) %}

{% block navButtons %}
    {% if resource_granted('oro_attribute_family_update') %}
        {{ UI.editButton({
            'path':  path('oro_attribute_family_update', { 'id': entity.id }),
            'entity_label': 'oro.entity_config.attribute_family.entity_label'|trans})
        }}
    {% endif %}
    {% if resource_granted('oro_attribute_family_delete') and resource_granted('delete', entity) %}
        {{ UI.deleteButton({
            'dataUrl': path('oro_attribute_family_delete', {'id': entity.id}),
            'dataRedirect': path('oro_attribute_family_index', {'alias': entityAlias}),
            'aCss': 'no-hash remove-button',<commit_msg>BB-8202: Exception during menu translation<commit_after>{% extends 'OroUIBundle:actions:view.html.twig' %}
{% import 'OroDataGridBundle::macros.html.twig' as dataGrid %}

{% oro_title_set({params : {"%name%": entity.defaultLabel.string }}) %}

{% block navButtons %}
    {% if resource_granted('oro_attribute_family_update') %}
        {{ UI.editButton({
            'path':  path('oro_attribute_family_update', { 'id': entity.id }),
            'entity_label': 'oro.entity_config.attribute_family.entity_label'|trans})
        }}
    {% endif %}
    {% if resource_granted('oro_attribute_family_delete') and resource_granted('delete', entity) %}
        {{ UI.deleteButton({
            'dataUrl': path('oro_attribute_family_delete', {'id': entity.id}),
            'dataRedirect': path('oro_attribute_family_index', {'alias': entityAlias}),
            'aCss': 'no-hash remove-button',
{'fraction_non_alphanumeric': 0.167433831990794, 'fraction_numerical': 0.0023014959723820483, 'mean_word_length': 3.982808022922636, 'pattern_counts': {'":': 2, '<': 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': '2896295', 'n_tokens_mistral': 557, 'n_tokens_neox': 532, 'n_words': 81}