{extends file='page.tpl'} {block name="header"} {/block} {block name=main}

{t('Step 2 date', 'Choose dates for your poll')}

{if $error != null}

{$error}

{/if}

{t('Step 2 date', 'To schedule an event you need to provide at least two choices (e.g., two time slots on one day or two days).')}

{t('Step 2 date', 'You can add or remove additional days and times with the buttons')} {t('Generic', 'Remove')} {t('Generic', 'Add')}

{t('Step 2 date', 'For each selected day, you are free to suggest meeting times (e.g., "8h", "8:30", "8h-10h", "evening", etc.)')}

{foreach $choices as $i=>$choice} {if $choice->getName()} {$day_value = $choice->getName()|timestamp_to_date|date_format_translation} {else} {$day_value = ''} {/if}
({t('Date', 'yyyy-mm-dd')})
{foreach $choice->getSlots() as $j=>$slot}
{/foreach}
{/foreach}
{t('Date', 'Add range dates')}
{/block}