This repository has been archived on 2023-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
2022-05-08 02:37:00 +08:00

26 lines
757 B
Twig

{% trans 'Find:' %}
<input type="text" value="" name="find" required />
{% trans 'Replace with:' %}
<input type="text" value="" name="replaceWith" />
{% trans 'Column:' %}
<select name="columnIndex">
{% for i in 0..column_names|length - 1 %}
{% set type = preg_replace('@\\(.*@s', '', column_types[i]) %}
{% if sql_types.getTypeClass(type) == 'CHAR' %}
{% set column = column_names[i] %}
<option value="{{ i }}">
{{ column }}
</option>
{% endif %}
{% endfor %}
</select>
{% include 'checkbox.twig' with {
'html_field_id': 'useRegex',
'html_field_name': 'useRegex',
'label': 'Use regular expression'|trans,
'checked': false,
'onclick': false
} only %}