{{ get_hidden_inputs(db) }}
|
{{ 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'] }}
{% include 'columns_definitions/column_type.twig' with {
'column_number': row_num,
'ci': 1,
'ci_offset': 0,
'type_upper': types_upper[row_num],
'column_meta': {}
} only %}
|
{{ (row['col_length']?(row['col_length']):'') }}
{% include 'columns_definitions/column_length.twig' with {
'column_number': row_num,
'ci': 2,
'ci_offset': 0,
'length_values_input_size': 8,
'length_to_display': row['col_length']
} only %}
|
{% if row['col_default'] is defined %}
{{ row['col_default'] }}
{% else %}
None
{% endif %}
{% include 'columns_definitions/column_default.twig' with {
'column_number': row_num,
'ci': 3,
'ci_offset': 0,
'default_value': default_values[row_num],
'column_meta': rows_meta[row_num],
'char_editing': char_editing,
} only %}
|
{{ 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 }}
{% include 'columns_definitions/column_null.twig' with {
'column_number': row_num,
'ci': 6,
'ci_offset': 0,
'column_meta': {
'Null': row['col_isNull']
}
} only %}
|
{{ row['col_extra'] }}
{% include 'columns_definitions/column_extra.twig' with {
'column_number': row_num,
'ci': 7,
'ci_offset': 0,
'column_meta': {
'Extra': row['col_extra']
}
} only %}
|
{% set row_num = row_num + 1 %}
{% endfor %}