<form id="dsgvo_delete_form" action="" method="POST" enctype="multipart/form-data">
    <div class="warningsmall ui-corner-all" style="margin-top:5px">
        {$i.addresses_dsgvo_delete_yes}
    </div>
    
    <fieldset class="ui-widget-header ui-corner-all noborder sepnext">
        <legend class="ui-widget-header ui-corner-all">{$i.addresses_delete_selected}</legend>
        {include file='r/checkbox.tpl' name="addresses_dsgvo_delete_addi_fields" title="basic_addi_fields" labelclass="label1"}
        {include file='r/checkbox.tpl' name="addresses_dsgvo_delete_description" title="addresses_description" labelclass="label1"}
        {include file='r/checkbox.tpl' name="addresses_dsgvo_delete_relations" title="addresses_relations" labelclass="label1"}
        
        {include file='r/checkbox.tpl' name="addresses_dsgvo_delete_calls" title="addresses_address_calls" labelclass="label1"}
        {include file='r/checkbox.tpl' name="addresses_dsgvo_delete_modifications" title="addresses_d_modifications" labelclass="label1"}
    </fieldset>
</form>

<form id="selected_dsgvo_delete_form" action="" method="POST" enctype="multipart/form-data">
    <div class="ui-dialog-maxheight-scroll" style="max-height:250px; min-height:250px; margin-top:5px;">
        <ul>
            {foreach item="selected_address" from=$selected_addresses}
                <li class="dialog_make_text_btn ui-corner-all" onclick="basicForm.selectable_row.unselect_from_dlg('addressesandcontacts',{$selected_address->id}, this);">
                    <span class="dialog_make_btn16 delete ui-corner-all"></span>
                {$selected_address->address_name}
                </li>
                {include file='r/hidden.tpl' name="addr_ids[]" default=$selected_address->id}
            {/foreach}         
        </ul>    
    </div>
</form>