<span class="ui-corner-all ui-datepicker-input">
    <input type="text" name="{$name}" value="{if isset($default)}{$default}{/if}" id="{$name}{if isset($row_unique_id)}{$row_unique_id}{/if}"
        class="dateselect {if isset($class)}{$class}{/if} {if isset($readonly) && $readonly}ignoredisabled{/if} {if isset($within_filter) && $within_filter}within_filter{/if}"
        {if isset($readonly) && $readonly}disabled="disabled"{/if}
        {if isset($deactivate_possible) && $deactivate}style="display:none;"{/if}
        {if isset($filter_extra)}{$filter_extra}{/if}
        {if isset($class) && stripos($class, 'required')!==false}required{/if}
    />
</span>
