Files
Romhack-Plaza---WordPress-T…/views/pieces/submissions/fields/platform.twig
2026-01-29 19:10:03 +01:00

11 lines
456 B
Twig

<label for="platform">
{{ __( "Platform:", 'romhackplaza' ) }}
</label>
<select id="platform" name="platform" class="custom-select" required>
<option value="" disabled selected>{{ __( "Select a platform", 'romhackplaza' ) }}
{% for term in terms_platform %}
<option value="{{ term.id|esc_attr }}" {% if term.id == value_platform_id %}selected{% endif %}>
{{ term.name|esc_html }}
</option>
{% endfor %}
</select>