{* DO NOT EDIT THIS FILE! Use an override template instead. *}
{default attribute_base=ContentObjectAttribute}
{let date=cond( is_set( $#collection_attributes[$attribute.id] ), $#collection_attributes[$attribute.id].content, $attribute.content )}
<div class="block">
<div class="date">

<div class="element">
<label>{'Year'|i18n( 'design/standard/content/datatype' )}:</label>
<input type="text" name="{$attribute_base}_date_year_{$attribute.id}" size="5" value="{section show=$date.is_valid}{$date.year}{/section}" />
</div>

<div class="element">
<label>{'Month'|i18n( 'design/standard/content/datatype' )}:</label>
<input type="text" name="{$attribute_base}_date_month_{$attribute.id}" size="3" value="{section show=$date.is_valid}{$date.month}{/section}" />
</div>

<div class="element">
<label>{'Day'|i18n( 'design/standard/content/datatype' )}:</label>
<input type="text" name="{$attribute_base}_date_day_{$attribute.id}" size="3" value="{section show=$date.is_valid}{$date.day}{/section}" />
</div>

<div class="break"></div>
</div>
</div>
{/let}
{/default}
