Files
sam-kd/DBcontrol/templates/table/structure/drop_confirm.twig
hskwon aca1767eb9 초기 커밋: 5130 레거시 시스템
- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경
- DB 연결 하드코딩 → .env 기반으로 변경
- MySQL strict mode DATE 오류 수정
2025-12-10 20:14:31 +09:00

23 lines
780 B
Twig

<form action="{{ url('/table/structure/drop') }}" method="post">
{{ get_hidden_inputs({'db': db, 'table': table, 'selected': fields}) }}
<fieldset class="confirmation">
<legend>
{% trans 'Do you really want to execute the following query?' %}
</legend>
<code>
ALTER TABLE {{ backquote(table) }}<br>
{% for field in fields %}
&nbsp;&nbsp;DROP {{ backquote(field) }}
{%- if loop.last %};{% else %},<br>{% endif %}
{% endfor %}
</code>
</fieldset>
<fieldset class="tblFooters">
<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' %}">
</fieldset>
</form>