{include file='r_basic/head.tpl' title="`$i.basic_correspondence`" helpicon_name="documents" helpicon_color="green"}

{include file='r_forms/editable_popform.tpl' id="correspondence" type="form"}
        {include file='Correspondence/edit_popform.tpl'}
    </div>
</form> 

{if $have_old_secure_docx_xlsx}
    <div class="warning warningborder ui-corner-all" style="margin: 20px; font-size: 1.5em;">
        {$i.pages_have_old_secure_docx_xlsx|markdown}
    </div>
{/if}

{include file='r_forms/filter_main.tpl' form_class="no_update_defaults"}

{include file='r/hidden.tpl' name="correspondence_order_by" default=$basic_filter.global.order_by}
{include file='r/hidden.tpl' name="correspondence_order_by_dir" default=$basic_filter.global.order_by_dir}
{include file='r/hidden.tpl' name="correspondence_page" default="1"}
{include file='r/hidden.tpl' name="correspondence_mode" default="1"}

<div id='filter_corr_copies' style='display:none'>
    {include file='r_forms/filter_main.tpl' basic_filter=$copies_filter}
</div>