oont-contents/plugins/mailpoet/views/form/templatesLegacy/blocks/date_days.hbs
2025-02-08 15:10:23 +01:00

11 lines
No EOL
328 B
Handlebars

<% set currentDay = 'now' | date('d') | number_format %>
<select id="{{ id }}_days">
<option value=""><%= __('Day') %></option>
<% for day in 1..31 %>
<option
<% if(currentDay == day) %>
{{#if params.is_default_today}}selected="selected"{{/if}}
<% endif %>
><%= day %></option>
<% endfor %>
</select>