<!doctype html>
<html  {$html_attrs}>
	<head>
				<meta http-equiv="X-UA-Compatible" content="IE=Edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>{$pagetitle}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<base href="{$projectPath}">
		<link REL="stylesheet" href="styles/default.css?{$wizardBuildKey}" type="text/css">
	{BEGIN rtlCSS}
	<link REL="stylesheet" href="styles/defaultRTL.css?{$wizardBuildKey}" type="text/css">
	{END rtlCSS}
	{BEGIN styleCSSFiles}
	<link REL="stylesheet" href="{$stylepath}" type="text/css">
	{END styleCSSFiles}
	</head>

	<body class="{$stylename} function-edit" {$bodyattrs}>
	{BEGIN body}
		{$header}
		<style>
			{$containerCss}
		</style>
		{$locking}
		<div class="r-small-page" 
			data-body-align="center"
			data-body-width="standard"
		>
							{BEGIN top_block}
<div class="r-form" data-location="top" id="form_top_{$pageid}" data-makeup="small" {$form_top} data-pageid="{$pageid}"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="edit_header" data-itemid="edit_header" {$item_edit_header} data-pageid="{$pageid}" >{$pagetitlelabel ClientesVinha edit}</h2>
	</div>					</div>
	</div>		
{END top_block}
									{BEGIN above-grid_block}
<div class="r-form" data-location="above-grid" id="form_above-grid_{$pageid}" data-makeup="small" {$form_above-grid} data-pageid="{$pageid}"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<div data-itemtype="edit_message" data-itemid="edit_message" {$item_edit_message} data-pageid="{$pageid}" class="alert {$message_class}" role="alert">
<h5>{$message}</h5>
<div>
{BEGIN back_button}
			<button class="btn btn-sm btn-default" {$backbutton_attrs}>Voltar à Lista</button>
	{END back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>Mostrar</button>
{END view_page_button}
</div>
</div>
	</div>					</div>
	</div>		
{END above-grid_block}
									{BEGIN grid_block}




 
	 
												<table 
	data-body-align="center"
	data-location="grid" id="form_grid_{$pageid}" data-makeup="small" {$form_grid} data-pageid="{$pageid}" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr>
										

{BEGIN cellblock_grid_c3}
<td
	{$cell_grid_c3}
	class=" r-ori-vert"
	
				data-fullwidth
		
			data-cellId="grid_c3" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN CodCliente_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_CodCliente}  r-vertical-field" 
	data-fieldname="CodCliente" 
	data-signal-error-for="CodCliente{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field" {$item_integrated_edit_field} data-pageid="{$pageid}" data-field="CodCliente" >


	<label class="r-edit-label control-label" for="{$labelfor_CodCliente}">
		{BEGIN CodCliente_label}{$label ClientesVinha CodCliente }{END CodCliente_label}
	</label>
	<div class="r-edit-field">
		{$CodCliente_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="CodCliente">
		<div class="text-muted" >
		{$tooltip ClientesVinha CodCliente }		</div>
	</div>
</div>


{END CodCliente_fieldblock}
											
{BEGIN Nome_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Nome}  r-vertical-field" 
	data-fieldname="Nome" 
	data-signal-error-for="Nome{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field2" {$item_integrated_edit_field2} data-pageid="{$pageid}" data-field="Nome" >


	<label class="r-edit-label control-label" for="{$labelfor_Nome}">
		{BEGIN Nome_label}{$label ClientesVinha Nome }{END Nome_label}
	</label>
	<div class="r-edit-field">
		{$Nome_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Nome">
		<div class="text-muted" >
		{$tooltip ClientesVinha Nome }		</div>
	</div>
</div>


{END Nome_fieldblock}
											
{BEGIN CodPHC_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_CodPHC}  r-vertical-field" 
	data-fieldname="CodPHC" 
	data-signal-error-for="CodPHC{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field1" {$item_integrated_edit_field1} data-pageid="{$pageid}" data-field="CodPHC" >


	<label class="r-edit-label control-label" for="{$labelfor_CodPHC}">
		{BEGIN CodPHC_label}{$label ClientesVinha CodPHC }{END CodPHC_label}
	</label>
	<div class="r-edit-field">
		{$CodPHC_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="CodPHC">
		<div class="text-muted" >
		{$tooltip ClientesVinha CodPHC }		</div>
	</div>
</div>


{END CodPHC_fieldblock}
											
{BEGIN Morada_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Morada}  r-vertical-field" 
	data-fieldname="Morada" 
	data-signal-error-for="Morada{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field3" {$item_integrated_edit_field3} data-pageid="{$pageid}" data-field="Morada" >


	<label class="r-edit-label control-label" for="{$labelfor_Morada}">
		{BEGIN Morada_label}{$label ClientesVinha Morada }{END Morada_label}
	</label>
	<div class="r-edit-field">
		{$Morada_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Morada">
		<div class="text-muted" >
		{$tooltip ClientesVinha Morada }		</div>
	</div>
</div>


{END Morada_fieldblock}
											
{BEGIN Contacto_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Contacto}  r-vertical-field" 
	data-fieldname="Contacto" 
	data-signal-error-for="Contacto{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field4" {$item_integrated_edit_field4} data-pageid="{$pageid}" data-field="Contacto" >


	<label class="r-edit-label control-label" for="{$labelfor_Contacto}">
		{BEGIN Contacto_label}{$label ClientesVinha Contacto }{END Contacto_label}
	</label>
	<div class="r-edit-field">
		{$Contacto_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Contacto">
		<div class="text-muted" >
		{$tooltip ClientesVinha Contacto }		</div>
	</div>
</div>


{END Contacto_fieldblock}
											
{BEGIN AnoCompra_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_AnoCompra}  r-vertical-field" 
	data-fieldname="AnoCompra" 
	data-signal-error-for="AnoCompra{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field5" {$item_integrated_edit_field5} data-pageid="{$pageid}" data-field="AnoCompra" >


	<label class="r-edit-label control-label" for="{$labelfor_AnoCompra}">
		{BEGIN AnoCompra_label}{$label ClientesVinha AnoCompra }{END AnoCompra_label}
	</label>
	<div class="r-edit-field">
		{$AnoCompra_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="AnoCompra">
		<div class="text-muted" >
		{$tooltip ClientesVinha AnoCompra }		</div>
	</div>
</div>


{END AnoCompra_fieldblock}
											
{BEGIN Quantidade_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Quantidade}  r-vertical-field" 
	data-fieldname="Quantidade" 
	data-signal-error-for="Quantidade{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field6" {$item_integrated_edit_field6} data-pageid="{$pageid}" data-field="Quantidade" >


	<label class="r-edit-label control-label" for="{$labelfor_Quantidade}">
		{BEGIN Quantidade_label}{$label ClientesVinha Quantidade }{END Quantidade_label}
	</label>
	<div class="r-edit-field">
		{$Quantidade_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Quantidade">
		<div class="text-muted" >
		{$tooltip ClientesVinha Quantidade }		</div>
	</div>
</div>


{END Quantidade_fieldblock}
											
{BEGIN Regiao_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Regiao}  r-vertical-field" 
	data-fieldname="Regiao" 
	data-signal-error-for="Regiao{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field7" {$item_integrated_edit_field7} data-pageid="{$pageid}" data-field="Regiao" >


	<label class="r-edit-label control-label" for="{$labelfor_Regiao}">
		{BEGIN Regiao_label}{$label ClientesVinha Regiao }{END Regiao_label}
	</label>
	<div class="r-edit-field">
		{$Regiao_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Regiao">
		<div class="text-muted" >
		{$tooltip ClientesVinha Regiao }		</div>
	</div>
</div>


{END Regiao_fieldblock}
											
{BEGIN Localidade_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Localidade}  r-vertical-field" 
	data-fieldname="Localidade" 
	data-signal-error-for="Localidade{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field8" {$item_integrated_edit_field8} data-pageid="{$pageid}" data-field="Localidade" >


	<label class="r-edit-label control-label" for="{$labelfor_Localidade}">
		{BEGIN Localidade_label}{$label ClientesVinha Localidade }{END Localidade_label}
	</label>
	<div class="r-edit-field">
		{$Localidade_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Localidade">
		<div class="text-muted" >
		{$tooltip ClientesVinha Localidade }		</div>
	</div>
</div>


{END Localidade_fieldblock}
											
{BEGIN Email_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Email}  r-vertical-field" 
	data-fieldname="Email" 
	data-signal-error-for="Email{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field9" {$item_integrated_edit_field9} data-pageid="{$pageid}" data-field="Email" >


	<label class="r-edit-label control-label" for="{$labelfor_Email}">
		{BEGIN Email_label}{$label ClientesVinha Email }{END Email_label}
	</label>
	<div class="r-edit-field">
		{$Email_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Email">
		<div class="text-muted" >
		{$tooltip ClientesVinha Email }		</div>
	</div>
</div>


{END Email_fieldblock}
											
{BEGIN Ligar_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Ligar}  r-vertical-field" 
	data-fieldname="Ligar" 
	data-signal-error-for="Ligar{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field10" {$item_integrated_edit_field10} data-pageid="{$pageid}" data-field="Ligar" >


	<label class="r-edit-label control-label" for="{$labelfor_Ligar}">
		{BEGIN Ligar_label}{$label ClientesVinha Ligar }{END Ligar_label}
	</label>
	<div class="r-edit-field">
		{$Ligar_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Ligar">
		<div class="text-muted" >
		{$tooltip ClientesVinha Ligar }		</div>
	</div>
</div>


{END Ligar_fieldblock}
											
{BEGIN Data_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Data}  r-vertical-field" 
	data-fieldname="Data" 
	data-signal-error-for="Data{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field11" {$item_integrated_edit_field11} data-pageid="{$pageid}" data-field="Data" >


	<label class="r-edit-label control-label" for="{$labelfor_Data}">
		{BEGIN Data_label}{$label ClientesVinha Data }{END Data_label}
	</label>
	<div class="r-edit-field">
		{$Data_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Data">
		<div class="text-muted" >
		{$tooltip ClientesVinha Data }		</div>
	</div>
</div>


{END Data_fieldblock}
											
{BEGIN Obs_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_Obs}  r-vertical-field" 
	data-fieldname="Obs" 
	data-signal-error-for="Obs{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field12" {$item_integrated_edit_field12} data-pageid="{$pageid}" data-field="Obs" >


	<label class="r-edit-label control-label" for="{$labelfor_Obs}">
		{BEGIN Obs_label}{$label ClientesVinha Obs }{END Obs_label}
	</label>
	<div class="r-edit-field">
		{$Obs_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="Obs">
		<div class="text-muted" >
		{$tooltip ClientesVinha Obs }		</div>
	</div>
</div>


{END Obs_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
								</tr>
			</tbody></table>
{END grid_block}
									{BEGIN below-grid_block}
<div class="r-form" data-location="below-grid" id="form_below-grid_{$pageid}" data-makeup="small" {$form_below-grid} data-pageid="{$pageid}"
		data-v-width="4"
	data-v-margin="1"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-6
	">
	 
		{BEGIN save_edit}
<span data-itemtype="edit_save" data-itemid="edit_save" {$item_edit_save} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							Guardar			</a>
</span>
{END save_edit}
	 
		{BEGIN back_button}
<span data-itemtype="edit_back_list" data-itemid="edit_back_list" {$item_edit_back_list} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$backbutton_attrs} >
							Voltar à Lista			</a>
</span>
{END back_button}
	 
		{BEGIN close_button}
<span data-itemtype="edit_close" data-itemid="edit_close" {$item_edit_close} data-pageid="{$pageid}" data-small data-button-item>
	<a type="button" title="" class="btn btn-default   
	" {$closebutton_attrs} >
							Cancelar			</a>
</span>
{END close_button}
	</div>			 
				<div 
	data-cellId="below-grid_c2" data-pageid="{$pageid}"	{$cell_below-grid_c2}
	class="r-align-right r-ori-vert			col-md-6
	">
	 
		<span data-itemtype="hamburger" data-itemid="hamburger" {$item_hamburger} data-pageid="{$pageid}" data-small data-button-item>
	<span class="dropdown dropup">
		<button type="button" title="" class="btn btn-default   dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">		
							<span class="glyphicon glyphicon-menu-hamburger"></span>
									<span class="caret"></span>
		</button>
		<ul class="dropdown-menu">
								<li data-itemtype="edit_reset" data-itemid="edit_reset" {$item_edit_reset} data-pageid="{$pageid}" data-small >
				<a  {$resetbutton_attrs}  title="" >
				
		Limpar		
		</a>
	</li>
							{BEGIN view_page_button}
	<li data-itemtype="edit_view" data-itemid="edit_view" {$item_edit_view} data-pageid="{$pageid}" data-small >
				<a  {$view_page_button_attrs}  title="" >
				
		Mostrar		
		</a>
	</li>
{END view_page_button}
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
