Mineplex/.FILES USED TO GET TO WHERE WE ARE PRESENTLY/xampp/phpMyAdmin/templates/table/delete/confirm.twig
Daniel Waggner 76a7ae65df PUUUUUSH
2023-05-17 14:44:01 -07:00

33 lines
1.0 KiB
Twig

<form action="{{ url('/table/delete/rows') }}" method="post">
{{ get_hidden_inputs({
'db': db,
'table': table,
'selected': selected,
'original_sql_query': sql_query,
'fk_checks': '0'
}) }}
<fieldset class="confirmation">
<legend>
{% trans 'Do you really want to execute the following query?' %}
</legend>
<ul>
{% for row in selected %}
<li><code>DELETE FROM {{ backquote(table) }} WHERE {{ row }};</code></li>
{% endfor %}
</ul>
</fieldset>
<fieldset class="tblFooters">
<div id="foreignkeychk" class="floatleft">
<input type="checkbox" name="fk_checks" id="fk_checks" value="1"{{ is_foreign_key_check ? ' checked' }}>
<label for="fk_checks">{% trans 'Enable foreign key checks' %}</label>
</div>
<div class="floatright">
<input id="buttonYes" class="btn btn-secondary" type="submit" name="mult_btn" value="{% trans 'Yes' %}">
<input id="buttonNo" class="btn btn-secondary" type="submit" name="mult_btn" value="{% trans 'No' %}">
</div>
</fieldset>
</form>