{literal} {/literal} {strip}
{bithelp}

{tr}Add Contact Xref{/tr}: {$title|escape}

{formfeedback hash=$feedback} {formfeedback warning=$errors.title}
{form enctype="multipart/form-data" id="editContactXrefForm"} {foreach from=$xrefInfo.xref_type_list.type key=feature item=output} {/foreach} {jstabs} {jstab title="Reference Details"} {legend legend="XRef Contents"} {formfeedback error=$errors warning=$contactWarnings success=$contactSuccess}
{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 from=$xrefInfo.xref_format_list key=feature item=output}
{include file="bitpackage:contact/edit_xref_`$output`_fields.tpl"}
{/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"}
 
{/jstabs} {/form}
{/strip}