<!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}">
		{BEGIN styleCSSFiles}
<link REL="stylesheet" href="{$stylepath}" type="text/css">
{END styleCSSFiles}
			
	</head>

	<body class="{$stylename} function-add" {$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-page="tb_clientes_add"
		data-v-width="6"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="top_c1" data-pageid="{$pageid}"	{$cell_top_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		<h2 data-itemtype="add_header" data-itemid="add_header" {$item_add_header}="" data-pageid="{$pageid}" >{$pagetitlelabel tb_clientes add}</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-page="tb_clientes_add"
		data-v-width="6"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="above-grid_c1" data-pageid="{$pageid}"	{$cell_above-grid_c1}
	class=" r-ori-vert			col-md-12
	">
	 
		{BEGIN message_block}
<div data-itemtype="add_message" data-itemid="add_message" {$item_add_message}="" data-pageid="{$pageid}" class="alert {$message_class}" role="alert">
<h5>{$message}</h5>
<div>
{BEGIN message_back_button}
		
	<button class="btn btn-sm btn-default" {$backbutton_attrs}>{mlang_message BACK_TO_LIST}</button>
	{END message_back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>{mlang_message VIEW}</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>{mlang_message EDIT}</button>
{END edit_page_button}
</div>
</div>
{END message_block}	</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}" data-page="tb_clientes_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="3"
		
		data-v-width="6"
	>
	<tbody>
										<tr {$row_grid_0} >
										

{BEGIN cellblock_grid_c}
<td
	{$cell_grid_c}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN cliente_fieldblock}


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

	<label class="r-edit-label control-label {$cliente_label_class}" for="{$labelfor_cliente}">
		{BEGIN cliente_label}
			{$cliente_forward_control}
			{$label tb_clientes cliente }			{END cliente_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$cliente_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="cliente" {$tooltipAttr tb_clientes cliente } >
		<div class="text-muted" >
		{$tooltip tb_clientes cliente }		</div>
	</div>
	</div>


{END cliente_fieldblock}
	
								</td>
			{END cellblock_grid_c}
			 
																

{BEGIN cellblock_grid_c10}
<td
	{$cell_grid_c10}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c10" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN empresa_fieldblock}


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

	<label class="r-edit-label control-label {$empresa_label_class}" for="{$labelfor_empresa}">
		{BEGIN empresa_label}
			{$empresa_forward_control}
			{$label tb_clientes empresa }			{END empresa_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$empresa_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="empresa" {$tooltipAttr tb_clientes empresa } >
		<div class="text-muted" >
		{$tooltip tb_clientes empresa }		</div>
	</div>
	</div>


{END empresa_fieldblock}
	
								</td>
			{END cellblock_grid_c10}
			 
																

{BEGIN cellblock_grid_c6}
<td
	{$cell_grid_c6}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c6" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN data_cadastro_fieldblock}


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

	<label class="r-edit-label control-label {$data_cadastro_label_class}" for="{$labelfor_data_cadastro}">
		{BEGIN data_cadastro_label}
			{$data_cadastro_forward_control}
			{$label tb_clientes data_cadastro }			{END data_cadastro_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$data_cadastro_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="data_cadastro" {$tooltipAttr tb_clientes data_cadastro } >
		<div class="text-muted" >
		{$tooltip tb_clientes data_cadastro }		</div>
	</div>
	</div>


{END data_cadastro_fieldblock}
	
								</td>
			{END cellblock_grid_c6}
								</tr>
	 
	 
														<tr {$row_grid_1} >
										

{BEGIN cellblock_grid_c4}
<td
	{$cell_grid_c4}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c4" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN whats_fieldblock}


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

	<label class="r-edit-label control-label {$whats_label_class}" for="{$labelfor_whats}">
		{BEGIN whats_label}
			{$whats_forward_control}
			{$label tb_clientes whats }			{END whats_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$whats_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="whats" {$tooltipAttr tb_clientes whats } >
		<div class="text-muted" >
		{$tooltip tb_clientes whats }		</div>
	</div>
	</div>


{END whats_fieldblock}
	
								</td>
			{END cellblock_grid_c4}
			 
																

{BEGIN cellblock_grid_c11}
<td
	{$cell_grid_c11}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c11" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN email_fieldblock}


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

	<label class="r-edit-label control-label {$email_label_class}" for="{$labelfor_email}">
		{BEGIN email_label}
			{$email_forward_control}
			{$label tb_clientes email }			{END email_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$email_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="email" {$tooltipAttr tb_clientes email } >
		<div class="text-muted" >
		{$tooltip tb_clientes email }		</div>
	</div>
	</div>


{END email_fieldblock}
	
								</td>
			{END cellblock_grid_c11}
			 
																

{BEGIN cellblock_grid_c7}
<td
	{$cell_grid_c7}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c7" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN ativar_fieldblock}


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

	<label class="r-edit-label control-label {$ativar_label_class}" for="{$labelfor_ativar}">
		{BEGIN ativar_label}
			{$ativar_forward_control}
			{$label tb_clientes ativar }			{END ativar_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$ativar_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="ativar" {$tooltipAttr tb_clientes ativar } >
		<div class="text-muted" >
		{$tooltip tb_clientes ativar }		</div>
	</div>
	</div>


{END ativar_fieldblock}
	
								</td>
			{END cellblock_grid_c7}
								</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-page="tb_clientes_add"
		data-v-width="6"
	data-v-margin="0"
	
>		
	 
		<div class="row">
			 
				<div 
	data-cellId="below-grid_c1" data-pageid="{$pageid}"	{$cell_below-grid_c1}
	class="			col-md-12
	">
	 
		<span data-itemtype="add_save" data-itemid="add_save" {$item_add_save}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-primary   
	" {$savebutton_attrs} >
							{mlang_message SAVE}			</a>
</span>
	 
		{BEGIN reset_button}
<span data-itemtype="add_reset" data-itemid="add_reset" {$item_add_reset}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="resetButton{$id}" >
							{mlang_message RESET}			</a>
</span>
{END reset_button}
	 
		{BEGIN back_button}
<span data-itemtype="add_back_list" data-itemid="add_back_list" {$item_add_back_list}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="backButton{$id}" >
							{mlang_message BACK_TO_LIST}			</a>
</span>
{END back_button}
	 
		{BEGIN cancel_button}
<span data-itemtype="add_cancel" data-itemid="add_cancel" {$item_add_cancel}="" data-pageid="{$pageid}" data-small="" data-button-item>
	<a type="button" title="" class="btn btn-default   
	" id="cancelButton{$id}" >
							{mlang_message CANCEL}			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
