{$xrefInfo.template_title|escape} {tr}Number{/tr}: {$xref_title|escape} for {$title|escape}
{legend legend="Contents"}
{formlabel label="`$xrefInfo.template_title` Number" for="xkey"}
{forminput}
{if $xrefInfo.xkey }
{$xrefInfo.xkey|escape}
{else}
Not yet set
{/if}
{formhelp note="ID Key use to access data in other systems identified by the xref type."}
{/forminput}
{formlabel label="`$xrefInfo.template_title` Number Notes" for="data"}
{forminput}
{$xrefInfo.data|escape}
{formhelp note="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."}
{/forminput}
{/legend}
{legend legend="Start and Stop Dates"}
{formlabel label="Start Date" for=""}
{forminput}
{if $xrefInfo.ignore_start_date eq "y"}
No start date set
{else}
{$xrefInfo.start_date|bit_long_datetime}
{/if}
{formhelp note="This `$xrefInfo.template_title` number becomes valid on this date."}
{/forminput}
{formlabel label="End Date" for=""}
{forminput}
{if $xrefInfo.ignore_end_date eq "y"}
No end date set
{else}
{$xrefInfo.end_date|bit_long_datetime}
{/if}
{formhelp note="This `$xrefInfo.template_title` number finishes on this date."}
{/forminput}