{# getHtmlForAddNewColumn #}
{{ (total_rows > 0) ? '+' : '-' }}{% trans 'Add new column' %}
{{ get_hidden_inputs(db) }}
{% trans 'Name' %}
{% trans 'Type' %}
{% trans 'Length/Value' %}
{% trans 'Default' %}
{% trans 'Collation' %}
{% trans 'Attribute' %}
{% trans 'Null' %}
{% trans 'A_I' %}
{% include 'columns_definitions/column_name.twig' with { 'column_number': 0, 'ci': 0, 'ci_offset': 0, 'column_meta': {}, 'cfg_relation': { 'centralcolumnswork': false }, 'max_rows': max_rows, } only %}

{% trans 'Edit ENUM/SET values' %}

{% if char_editing == 'textarea' %} {% else %} {% endif %} {% include 'columns_definitions/column_attribute.twig' with { 'column_number': 0, 'ci': 5, 'ci_offset': 0, 'extracted_columnspec': {}, 'column_meta': {}, 'submit_attribute': false, 'attribute_types': attribute_types, } only %}
{% if total_rows <= 0 %}
{% trans 'The central list of columns for the current database is empty' %}
{% else %} {% if pos - max_rows >= 0 %} {% endif %} {% if tn_nbTotalPage > 1 %} {% endif %} {% if pos + max_rows < total_rows %} {% endif %} {% endif %} {% if total_rows > 0 %}
{{ get_hidden_inputs(db) }}
{% set class = 'column_heading' %} {% set title = 'Click to sort.' | trans %} {% set row_num = 0 %} {% for row in rows_list %} {# getHtmlForTableRow #} {{ get_hidden_inputs(db) }} {% set row_num = row_num + 1 %} {% endfor %}
{% trans 'Action' %} {% trans 'Name' %}
{% trans 'Type' %}
{% trans 'Length/Value' %}
{% trans 'Default' %}
{% trans 'Collation' %}
{% trans 'Attribute' %}
{% trans 'Null' %}
{% trans 'A_I' %}
{{ get_icon('b_edit', 'Edit' | trans) | raw }} {{ get_icon('b_drop', 'Delete' | trans) }} {{ row['col_name'] }} {% include 'columns_definitions/column_name.twig' with { 'column_number': row_num, 'ci': 0, 'ci_offset': 0, 'column_meta': { 'Field': row['col_name'] }, 'cfg_relation': { 'centralcolumnswork': false }, 'max_rows': max_rows } only %} {{ row['col_type'] }} {{ (row['col_length']?(row['col_length']):'') }}

{% trans 'Edit ENUM/SET values' %}

{% if row['col_default'] is defined %} {{ row['col_default'] }} {% else %} {% trans 'None' %} {% endif %} {% if char_editing == 'textarea' %} {% else %} {% endif %} {{ row['col_collation'] }} {{ row['col_attribute']?(row['col_attribute']):"" }} {% include 'columns_definitions/column_attribute.twig' with { 'column_number': row_num, 'ci': 5, 'ci_offset': 0, 'extracted_columnspec': {}, 'column_meta': row['col_attribute'], 'submit_attribute': false, 'attribute_types': attribute_types, } only %} {{ row['col_isNull'] ? 'Yes' | trans : 'No' | trans }} {{ row['col_extra'] }}
{% include 'select_all.twig' with { 'theme_image_path': theme_image_path, 'text_dir' : text_dir, 'form_name' : 'tableslistcontainer', } only %}
{% endif %}