{formlabel label="Reference Type" for="item"}
{forminput}
{html_options name="item" id="item" options=$xrefInfo.xref_type_list.list selected=$smarty.const.CONTACT_FORMAT_GENERIC onchange="updateContactXrefFormat();"}
{formhelp note="Select type of reference information to add"}
{/forminput}
{/foreach}
{formlabel label="Additional Notes" for="data"}
{capture assign=textarea_help}
{tr}Keep the text attached to reference items short and use comment records to add larger volumns of text. This should be reserved for simple notes such 'as use after 5PM' or the link.{/tr}
{/capture}
{textarea rows=5 noformat=1 id="edittext" nowysiwyg="yes" edit=$xrefInfo.data}
{/legend}
{/jstab}
{include file="bitpackage:contact/edit_xref_dates.tpl"}