{include file="templates/elements/form/field-element-caption.html"} {include file="templates/elements/form/field-element-lock.html"}
{trans key='common.month.1'}
{trans key='common.month.2'}
{trans key='common.month.3'}
{trans key='common.month.4'}
{trans key='common.month.5'}
{trans key='common.month.6'}
{trans key='common.month.7'}
{trans key='common.month.8'}
{trans key='common.month.9'}
{trans key='common.month.10'}
{trans key='common.month.11'}
{trans key='common.month.12'}
{foreach from=$field.daysSet item='day'}
{if $day < 10}0{/if}{$day}
{/foreach}
{foreach from=$field.yearsSet item='year'}
{$year}
{/foreach}
{foreach from=$field.hoursSet item='hour'}
{if $hour >= 12}{if $hour > 12}{$hour-12}{else}12{/if} pm{else}{if $hour ==0}12{else}{$hour}{/if} am{/if}
{/foreach}
{foreach from=$field.minutesSet item='minute'}
{if $minute < 10}0{/if}{$minute}
{/foreach}
{include file="templates/elements/form/field-element-note.html"} {include file="templates/elements/form/field-element-errors.html"}