{strip}
{bithelp}

{tr}Edit Location{/tr}: {$title|escape}-{$xref_title|escape}

{formfeedback hash=$feedback} {formfeedback warning=$errors.title}
{form enctype="multipart/form-data" id="writexref"} {jstabs} {jstab title="Location Details"} {legend legend="Contents"}
{formlabel label="Geographic Location" for="xref"} {forminput} {tr}OpenStreetMap Link{/tr} {formhelp note="Use one of the graphical tools like multimap or google maps to identify actual co-ordinates."} {/forminput}
{formlabel label="Easting/Longitude" for="xkey"} {forminput} {formhelp note="Longitude for the location."} {/forminput}
{formlabel label="Northing/Latitude" for="xkey_ext"} {forminput} {formhelp note="Latitude for the location."} {/forminput}
{formlabel label="Location Directions" for="data"} {capture assign=textarea_help} {tr}Directions to assist finding the actual location where site is not accessable via the postcode.{/tr} {/capture} {textarea rows=5 noformat=1 id="edittext" nowysiwyg="yes" edit=$xrefInfo.data} {/legend} {/jstab} {jstab title="Time period"} {legend legend="Start and Stop Dates"}
 Ignore Date {formlabel label="Start Date" for=""} {forminput} {html_select_date prefix="start_" time=$xrefInfo.start_date start_year="-5" end_year="+10"} {tr}at{/tr}  {html_select_time prefix="start_" time=$xrefInfo.start_date display_seconds=false} {$siteTimeZone} {formhelp note="This address becomes valid on this date."} {/forminput}
 Ignore Date {formlabel label="End Date" for=""} {forminput} {html_select_date prefix="end_" time=$xrefInfo.end_date start_year="-5" end_year="+10"} {tr}at{/tr}  {html_select_time prefix="end_" time=$xrefInfo.end_date display_seconds=false} {$siteTimeZone} {formhelp note="This address finishes on this date."} {/forminput}
{/legend} {/jstab}
 
{/jstabs} {/form}
{/strip}