    {include file='r_forms/editable_popform.tpl' id="address_signature_preset_form" js_object='master_data_address_info.signature'}
        {include file='r/hidden.tpl' name="address_signature_preset_edit"}{* What entry do we edit - If empty = add *}
        {include file='r/input.tpl' name="address_signature_preset_name" title="masterdatamanagement_signature" class="required"}
        {*if $multitenancy_active}
            {include file='r/select.tpl' name="address_signature_preset_company" title="masterdatamanagement_company_name"
                list=$companies id='id' text='name'}
        {/if*}
    </div>
</form>

{include file='r/select.tpl' title="masterdatamanagement_signature"
    name="address_signature_preset" filter_extra='onchange="master_data_address_info.signature.change()"'
    list=$address_signature_presets id="id" text="name" noempty=TRUE
    add_icons_file="add_new_address_signature_preset"
    default=$address_signature_preset_id
    collapse='formcoll'}

<form action="" method="post" id="address_signature" class="bigform ui-corner-all">
    <fieldset class="bordertop sepnext">
        <legend>{$i.masterdatamanagement_signature_main} ({$i.basic_addressesandcontacts}, {$i.basic_correspondence}, {$i.basic_transmittal_forms})</legend>
        {include file='r/input-only.tpl' name="address_signature_main_subject" class="t-long midheight"
            default=$address_signature_main_subject|escape:'html' poptitle="masterdatamanagement_signature_subject" placeholder="masterdatamanagement_signature_subject"
            maxlength=200}
        <div><span title="HTML" style="vertical-align: top" class="tinymce_make_btn20 html smallbtns ui-corner-all" onclick="master_data_address_info.toggle_tinymce('address_signature_main')"></span></div>
        {include file='r/textarea-only.tpl' name="address_signature_main" class="t-long midheight"
            default=$address_signature_main}
    </fieldset>
    <fieldset class="bordertop sepnext">
        <legend>{$i.basic_personalappointmentplaner}</legend>
        {include file='r/input-only.tpl' name="address_signature_appoi_subject" class="t-long midheight"
            default=$address_signature_appoi_subject|escape:'html' poptitle="masterdatamanagement_signature_subject" placeholder="masterdatamanagement_signature_subject"
            maxlength=200}
        <div><span title="HTML" style="vertical-align: top" class="tinymce_make_btn20 html smallbtns ui-corner-all" onclick="master_data_address_info.toggle_tinymce('address_signature_appoi')"></span></div>    
        {include file='r/textarea-only.tpl' name="address_signature_appoi" class="t-long midheight"
            default=$address_signature_appoi}
    </fieldset>
    <fieldset class="bordertop sepnext">
        <legend>{$i.basic_opentasks}</legend>
        {include file='r/input-only.tpl' name="address_signature_opta_subject" class="t-long midheight"
            default=$address_signature_opta_subject|escape:'html' poptitle="masterdatamanagement_signature_subject" placeholder="masterdatamanagement_signature_subject"
            maxlength=200}
        <div><span title="HTML" style="vertical-align: top" class="tinymce_make_btn20 html smallbtns ui-corner-all" onclick="master_data_address_info.toggle_tinymce('address_signature_opta')"></span></div>    
        {include file='r/textarea-only.tpl' name="address_signature_opta" class="t-long midheight"
            default=$address_signature_opta}
    </fieldset>

    <a onclick="master_data_address_info.save('address_signature');" class="dialog_make_text_btn ui-corner-all">
        <span class="dialog_make_btn16 ok ui-corner-all"></span>
        {$i.basic_save}
    </a>
</form>
