<!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="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="edit_header" data-itemid="edit_header" {$item_edit_header} data-pageid="{$pageid}" >{$pagetitlelabel tb_consultorios 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="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
	">
	 
		<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}>Back to list</button>
	{END back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>View</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="3"
		
		data-v-width="6"
	>
	<tbody>
										<tr>
										

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


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


	<label class="r-edit-label control-label" for="{$labelfor_local}">
		{BEGIN local_label}{$label tb_consultorios local }{END local_label}
	</label>
	<div class="r-edit-field">
		{$local_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="local">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END local_fieldblock}
	
								</td>
			{END cellblock_grid_c3}
			 
																

{BEGIN cellblock_grid_c5}
<td
	{$cell_grid_c5}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c5" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN andar_sala_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_andar_sala}">
		{BEGIN andar_sala_label}{$label tb_consultorios andar_sala }{END andar_sala_label}
	</label>
	<div class="r-edit-field">
		{$andar_sala_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="andar_sala">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END andar_sala_fieldblock}
	
								</td>
			{END cellblock_grid_c5}
			 
																

{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 horarios_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_horarios}">
		{BEGIN horarios_label}{$label tb_consultorios horarios }{END horarios_label}
	</label>
	<div class="r-edit-field">
		{$horarios_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="horarios">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END horarios_fieldblock}
	
								</td>
			{END cellblock_grid_c4}
								</tr>
	 
	 
														<tr>
										

{BEGIN cellblock_grid_c14}
<td
	{$cell_grid_c14}
	class=" r-ori-vert"
	
			data-single
			
	ocolspan="2"		data-cellId="grid_c14" data-pageid="{$pageid}"
		data-v-cell="4"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN endereco_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_endereco}">
		{BEGIN endereco_label}{$label tb_consultorios endereco }{END endereco_label}
	</label>
	<div class="r-edit-field">
		{$endereco_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="endereco">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END endereco_fieldblock}
	
								</td>
			{END cellblock_grid_c14}
			 
																

{BEGIN cellblock_grid_c16}
<td
	{$cell_grid_c16}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c16" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN cidade_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_cidade}">
		{BEGIN cidade_label}{$label tb_consultorios cidade }{END cidade_label}
	</label>
	<div class="r-edit-field">
		{$cidade_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="cidade">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END cidade_fieldblock}
	
								</td>
			{END cellblock_grid_c16}
								</tr>
	 
	 
														<tr>
										

{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 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_field8" {$item_integrated_edit_field8} data-pageid="{$pageid}" data-field="email" >


	<label class="r-edit-label control-label" for="{$labelfor_email}">
		{BEGIN email_label}{$label tb_consultorios 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" >
				</div>
	</div>
</div>


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

{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 whatsapp_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_whatsapp}">
		{BEGIN whatsapp_label}{$label tb_consultorios whatsapp }{END whatsapp_label}
	</label>
	<div class="r-edit-field">
		{$whatsapp_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="whatsapp">
		<div class="text-muted" >
				</div>
	</div>
</div>


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

{BEGIN cellblock_grid_c12}
<td
	{$cell_grid_c12}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c12" data-pageid="{$pageid}"
		data-v-cell="2"
		
>
	<div edit-form-cell class="clearfix">
				
{BEGIN fone_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_fone}">
		{BEGIN fone_label}{$label tb_consultorios fone }{END fone_label}
	</label>
	<div class="r-edit-field">
		{$fone_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="fone">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END fone_fieldblock}
	
								</td>
			{END cellblock_grid_c12}
								</tr>
	 
	 
														<tr>
										

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


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


	<label class="r-edit-label control-label" for="{$labelfor_observacoes}">
		{BEGIN observacoes_label}{$label tb_consultorios observacoes }{END observacoes_label}
	</label>
	<div class="r-edit-field">
		{$observacoes_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="observacoes">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END observacoes_fieldblock}
	
								</td>
			{END cellblock_grid_c6}
			 
																

{BEGIN cellblock_grid_c8}
<td
	{$cell_grid_c8}
	class=" r-ori-vert"
	
			data-single
			
			data-cellId="grid_c8" 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-fieldname="ativar" 
	data-signal-error-for="ativar{$id}" 
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field10" {$item_integrated_edit_field10} data-pageid="{$pageid}" data-field="ativar" >


	<label class="r-edit-label control-label" for="{$labelfor_ativar}">
		{BEGIN ativar_label}{$label tb_consultorios ativar }{END ativar_label}
	</label>
	<div class="r-edit-field">
		{$ativar_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="ativar">
		<div class="text-muted" >
				</div>
	</div>
</div>


{END ativar_fieldblock}
	
								</td>
			{END cellblock_grid_c8}
								</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="6"
	data-v-margin="0"
	
>		
	 
		<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} >
							Save			</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} >
							Back to list			</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} >
							Cancel			</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="" >
				
		Reset		
		</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="" >
				
		View		
		</a>
	</li>
{END view_page_button}
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
