<fieldset class="pma-fieldset index_info">
<legend id="index_header">
{{ show_mysql_docu('optimizing-database-structure') }}
{% if indexes is not empty %}
{{ indexes_duplicates|raw }}
{{ include('modals/preview_sql_confirmation.twig') }}
<div class="table-responsive jsresponsive">
<table class="table table-striped table-hover table-sm w-auto align-middle" id="table_index">
<th colspan="3" class="d-print-none">{% trans 'Action' %}</th>
<th>{% trans 'Keyname' %}</th>
<th>{% trans 'Type' %}</th>
<th>{% trans 'Unique' %}</th>
<th>{% trans 'Packed' %}</th>
<th>{% trans 'Column' %}</th>
<th>{% trans 'Cardinality' %}</th>
<th>{% trans 'Collation' %}</th>
<th>{% trans 'Null' %}</th>
<th>{% trans 'Comment' %}</th>
{% for index in indexes %}
{% set columns_count = index.getColumnCount() %}
<td rowspan="{{ columns_count }}" class="edit_index d-print-none ajax">
<a class="ajax" href="{{ url('/table/indexes') }}" data-post="{{ get_common(url_params|merge({'index': index.getName()}), '', false) }}">
{{ get_icon('b_edit', 'Edit'|trans) }}
<td rowspan="{{ columns_count }}" class="rename_index d-print-none ajax" >
<a class="ajax" href="{{ url('/table/indexes/rename') }}" data-post="{{ get_common(url_params|merge({'index': index.getName()}), '', false) }}">
{{ get_icon('b_rename', 'Rename'|trans) }}
<td rowspan="{{ columns_count }}" class="d-print-none">
{% if index.getName() == 'PRIMARY' %}