-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
/
empty_form.twig
23 lines (20 loc) · 915 Bytes
/
empty_form.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<form action="{{ url('/database/structure/empty-table') }}" method="post">
{{ get_hidden_inputs(url_params) }}
<fieldset class="confirmation">
<legend>
{% trans 'Do you really want to execute the following query?' %}
</legend>
<code>{{ full_query|raw }}</code>
</fieldset>
<fieldset class="tblFooters">
<div id="foreignkeychk" class="floatleft">
<input type="hidden" name="fk_checks" value="0">
<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>