<span id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}">
    <input type="text" name="{$name}__date" value="{if isset($default_date)}{$default_date}{/if}"
            id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}__date"
            class="dateselect {if isset($class)}{$class}{/if} {if isset($readonly) && $readonly}ignoredisabled{/if}"
            {if isset($readonly) && $readonly}disabled="disabled"{/if}
            {if isset($deactivate_possible) && $deactivate}style="display:none;"{/if}
            {if isset($filter_extra)}{$filter_extra}{/if}
        />
    <input type="text" name="{$name}__time" value="{if isset($default_time)}{$default_time}{/if}"
            id="{if isset($rep_name_id)}{$rep_name_id}{/if}{$name}__time"
            class="timeUS timeselect {if isset($class)}{$class}{/if} {if isset($readonly) && $readonly}ignoredisabled{/if}"
            {if isset($readonly) && $readonly}disabled="disabled"{/if}
            {if isset($deactivate_possible) && $deactivate}style="display:none;"{/if}
            {if isset($filter_extra)}{$filter_extra}{/if}
        />
</span>
{include file="r/parts/past_field.tpl"}
