- URL 하드코딩 → .env APP_URL 기반 동적 URL로 변경 - DB 연결 하드코딩 → .env 기반으로 변경 - MySQL strict mode DATE 오류 수정
8 lines
258 B
Twig
8 lines
258 B
Twig
<option value="">-- {% trans 'Select a template' %} --</option>
|
|
|
|
{% for template in templates %}
|
|
<option value="{{ template.getId() }}"{{ template.getId() == selected_template ? ' selected' }}>
|
|
{{ template.getName() }}
|
|
</option>
|
|
{% endfor %}
|