
<div class="item_type_entity is_saved">
    <input class="item_type_ordering" name="item_type[item_type_ordering][]" value="{$item_type->item_type_ordering}" type="hidden" />
    <input class="item_type_id" name="item_type[item_type_id][]" value="{$item_type->item_type_id}" type="hidden" />

     <div class="edit_element_1_3">
            <label>Typ</label>
            <select class="item_type_definition" name="item_type[item_type_definition_id][]">
                    {foreach $item_type_definitions as $item_type_defenition}
                            <option value="{$item_type_defenition->item_type_definition_id}" {if $item_type_defenition->item_type_definition_id == $item_type->item_type_definition_id}selected="selected"{/if} >{$item_type_defenition->item_type_definition_name}</option>
                    {/foreach}
            </select>	
    </div>
    <div class="edit_element_1_3">
            <label>Text</label>
            <input class="item_type_text" name="item_type[item_type_text][]" value="{$item_type->item_type_text}" type="text" />
    </div>
    {if $item_type->item_type_definition_type == 1}
    <div class="edit_element_1_3">
            <label>Von</label>
            <input class="date_field item_type_text" name="item_type[item_type_available_from][]" value="{$item_type->item_type_available_from}" type="text" />
    </div>
    <div class="edit_element_1_3">
            <label>Bis</label>
            <input class="date_field item_type_text" name="item_type[item_type_available_until][]" value="{$item_type->item_type_available_until}" type="text" />
    </div>
    {else}
            <input name="item_type[item_type_available_from][]" value="0000-00-00" type="hidden" />
            <input name="item_type[item_type_available_until][]" value="0000-00-00" type="hidden" />
    {/if}
    <a href="#" class="delete_item_type"><img src="{$info->base_url}/themes/admin/media/images/delete.png" alt="Artikel Typen hinzuf&uuml;gen" /></a>
    <div class="edit_endline"></div>
</div>