<% entries = @texts_by_type[tab[:name]] || [] %> <% if entries.any? %>
<% entries.each do |attribute_help_text| -%> <% end %>
<%= AttributeHelpText.human_attribute_name(:attribute_name) %>
<%= AttributeHelpText.human_attribute_name(:help_text) %>
<%= link_to h(attribute_help_text.attribute_caption), edit_attribute_help_text_path(attribute_help_text) %> <%= angular_component_tag 'attribute-help-text', inputs: { helpTextId: attribute_help_text.id, attribute: attribute_help_text.attribute_name, attributeScope: attribute_help_text.attribute_scope, additionalLabel: t(:'attribute_help_texts.show_preview') } %> <%= link_to( op_icon('icon icon-delete'), (attribute_help_text_path(attribute_help_text)), method: :delete, data: { confirm: I18n.t(:text_are_you_sure) }, title: t(:button_delete)) %>
<% else %> <%= no_results_box %> <% end %>