<!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-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-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="add_header" data-itemid="add_header" {$item_add_header} data-pageid="{$pageid}" >{$pagetitlelabel cat_oficinas 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-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
	">
	 
		{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 back_button}
		
	<button class="btn btn-sm btn-default" {$backbutton_attrs}>Volver a la lista</button>
	{END back_button}
{BEGIN view_page_button}
	<button class="btn btn-sm btn-default" {$view_page_button_attrs}>Ver</button>
{END view_page_button}
{BEGIN edit_page_button}
	<button class="btn btn-sm btn-default" {$edit_page_button_attrs}>Editar</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}" 
	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 dependencia_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_dependencia}">
		{BEGIN dependencia_label}{$label cat_oficinas dependencia }{END dependencia_label}
	</label>
	<div class="r-edit-field">
		{$dependencia_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="dependencia">
		<div class="text-muted" >
		{$tooltip cat_oficinas dependencia }		</div>
	</div>
</div>


{END dependencia_fieldblock}
											
{BEGIN dependencia_oficina_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_dependencia_oficina}">
		{BEGIN dependencia_oficina_label}{$label cat_oficinas dependencia_oficina }{END dependencia_oficina_label}
	</label>
	<div class="r-edit-field">
		{$dependencia_oficina_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="dependencia_oficina">
		<div class="text-muted" >
		{$tooltip cat_oficinas dependencia_oficina }		</div>
	</div>
</div>


{END dependencia_oficina_fieldblock}
											
{BEGIN telefono1_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_telefono1}">
		{BEGIN telefono1_label}{$label cat_oficinas telefono1 }{END telefono1_label}
	</label>
	<div class="r-edit-field">
		{$telefono1_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="telefono1">
		<div class="text-muted" >
		{$tooltip cat_oficinas telefono1 }		</div>
	</div>
</div>


{END telefono1_fieldblock}
											
{BEGIN telefono2_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_telefono2}">
		{BEGIN telefono2_label}{$label cat_oficinas telefono2 }{END telefono2_label}
	</label>
	<div class="r-edit-field">
		{$telefono2_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="telefono2">
		<div class="text-muted" >
		{$tooltip cat_oficinas telefono2 }		</div>
	</div>
</div>


{END telefono2_fieldblock}
											
{BEGIN extension_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_extension}">
		{BEGIN extension_label}{$label cat_oficinas extension }{END extension_label}
	</label>
	<div class="r-edit-field">
		{$extension_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="extension">
		<div class="text-muted" >
		{$tooltip cat_oficinas extension }		</div>
	</div>
</div>


{END extension_fieldblock}
											
{BEGIN domicilio_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_domicilio}">
		{BEGIN domicilio_label}{$label cat_oficinas domicilio }{END domicilio_label}
	</label>
	<div class="r-edit-field">
		{$domicilio_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="domicilio">
		<div class="text-muted" >
		{$tooltip cat_oficinas domicilio }		</div>
	</div>
</div>


{END domicilio_fieldblock}
											
{BEGIN municipio_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_municipio}">
		{BEGIN municipio_label}{$label cat_oficinas municipio }{END municipio_label}
	</label>
	<div class="r-edit-field">
		{$municipio_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="municipio">
		<div class="text-muted" >
		{$tooltip cat_oficinas municipio }		</div>
	</div>
</div>


{END municipio_fieldblock}
											
{BEGIN entidad_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_entidad}">
		{BEGIN entidad_label}{$label cat_oficinas entidad }{END entidad_label}
	</label>
	<div class="r-edit-field">
		{$entidad_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="entidad">
		<div class="text-muted" >
		{$tooltip cat_oficinas entidad }		</div>
	</div>
</div>


{END entidad_fieldblock}
											
{BEGIN pais_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_pais}">
		{BEGIN pais_label}{$label cat_oficinas pais }{END pais_label}
	</label>
	<div class="r-edit-field">
		{$pais_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="pais">
		<div class="text-muted" >
		{$tooltip cat_oficinas pais }		</div>
	</div>
</div>


{END pais_fieldblock}
											
{BEGIN cp_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_cp}">
		{BEGIN cp_label}{$label cat_oficinas cp }{END cp_label}
	</label>
	<div class="r-edit-field">
		{$cp_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="cp">
		<div class="text-muted" >
		{$tooltip cat_oficinas cp }		</div>
	</div>
</div>


{END cp_fieldblock}
											
{BEGIN email1_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_email1}">
		{BEGIN email1_label}{$label cat_oficinas email1 }{END email1_label}
	</label>
	<div class="r-edit-field">
		{$email1_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="email1">
		<div class="text-muted" >
		{$tooltip cat_oficinas email1 }		</div>
	</div>
</div>


{END email1_fieldblock}
											
{BEGIN email2_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_email2}">
		{BEGIN email2_label}{$label cat_oficinas email2 }{END email2_label}
	</label>
	<div class="r-edit-field">
		{$email2_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="email2">
		<div class="text-muted" >
		{$tooltip cat_oficinas email2 }		</div>
	</div>
</div>


{END email2_fieldblock}
											
{BEGIN dir_mapa_fieldblock}


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


	<label class="r-edit-label control-label" for="{$labelfor_dir_mapa}">
		{BEGIN dir_mapa_label}{$label cat_oficinas dir_mapa }{END dir_mapa_label}
	</label>
	<div class="r-edit-field">
		{$dir_mapa_editcontrol}	</div>
	<div class="r-edit-tooltip" data-helpfor="dir_mapa">
		<div class="text-muted" >
		{$tooltip cat_oficinas dir_mapa }		</div>
	</div>
</div>


{END dir_mapa_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-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} >
							Guardar			</a>
</span>
	 
		{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}" >
							Volver a la lista			</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}" >
							Cancelar			</a>
</span>
{END cancel_button}
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
