{{ Url_getHiddenInputs(db, table) }}
{% trans 'Browse/Edit the points' %} {# JSON encode the data(query result) #}
{% if zoom_submit and data is not empty %}
{% trans 'How to use' %}
{{ data_json }}
{% endif %}
{# Displays rows in point edit form #}
{% for column_index in 0..column_names|length - 1 %} {% set field_popup = column_names[column_index] %} {% set foreign_data = Relation_getForeignData( foreigners, field_popup, false, '', '' ) %} {# Null checkbox if column can be null #} {# Column's Input box #} {% endfor %}
{% trans 'Column' %} {% trans 'Null' %} {% trans 'Value' %}
{{ column_names[column_index] }} {% if column_null_flags[column_index] == 'YES' %} {% endif %} {% include 'table/search/input_box.twig' with { 'str': '', 'column_type': column_types[column_index], 'column_id': column_types[column_index] ? 'edit_fieldID_' : 'fieldID_', 'in_zoom_search_edit': true, 'foreigners': foreigners, 'column_name': field_popup, 'column_name_hash': md5(field_popup), 'foreign_data': foreign_data, 'table': table, 'column_index': column_index, 'foreign_max_limit': foreign_max_limit, 'criteria_values': '', 'db': db, 'titles': titles, 'in_fbs': false } only %}