File "date_days.hbs"
Full Path: /home/warrior1/public_html/wp-content/plugins/mailpoet/views/form/templatesLegacy/blocks/date_days.hbs
File size: 328 bytes
MIME-type: text/plain
Charset: utf-8
<% 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>