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

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

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

    {if $attribute.contentclass_attribute.data_int2|eq(1)}
    <div class="element">
        <label>{'Second'|i18n( 'design/standard/content/datatype' )}:</label>
        <input type="text" name="{$attribute_base}_time_second_{$attribute.id}" size="3" value="{section show=$time.is_valid}{$time.second}{/section}" />
    </div>
    {/if}

    <div class="break"></div>

</div>
{/let}
{/default}
