{**************************************}
{******* $name must be set!! **********}
{******* $control must be set!! *******}

{**************************************
**** display the Xmm & Ymm inputs *****
***************************************}

{if !$id}
	{assign var=id value=".:id:."}
{/if}

<div>
	<input
		type="Xmm"
		class="attributes_coordinates"
		name="{$control}{$id}[Xmm]"
		id="Xmm"
		value="{$data.Xmm}"
		autocomplete="off"
	/>{$_LANG.DTM.tpl.mm}
	/
	<input
		type="Ymm"
		class="attributes_coordinates"
		name="{$control}{$id}[Ymm]"
		id="Ymm"
		value="{$data.Ymm}"
		autocomplete="off"
	/>{$_LANG.DTM.tpl.mm}
	
	{******** HIDDEN COORDINATES ************}
	<input
		type="X"
		name="{$control}{$id}[X]"
		id="X"
		value="{$data.X}"
		style="display: none;"
	/>
	<input
		type="Y"
		name="{$control}{$id}[Y]"
		id="Y"
		value="{$data.Y}"
		style="display: none;"
	/>
</div>