<!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="vw_user_tenants_add"
		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 vw_user_tenants 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="vw_user_tenants_add"
		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 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="vw_user_tenants_add" 
	class="r-edit-form" cellpadding="0" cellspacing="0" 
	{$grid_hiddenattr} 
		data-form-width="1"
		
		data-v-width="4"
	>
	<tbody>
										<tr {$row_grid_0} >
										

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


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

	<label class="r-edit-label control-label {$membership_id_label_class}" for="{$labelfor_membership_id}">
		{BEGIN membership_id_label}
			{$membership_id_forward_control}
			{$label vw_user_tenants membership_id }			{END membership_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$membership_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="membership_id" {$tooltipAttr vw_user_tenants membership_id } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants membership_id }		</div>
	</div>
	</div>


{END membership_id_fieldblock}
											
{BEGIN user_id_fieldblock}


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

	<label class="r-edit-label control-label {$user_id_label_class}" for="{$labelfor_user_id}">
		{BEGIN user_id_label}
			{$user_id_forward_control}
			{$label vw_user_tenants user_id }			{END user_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$user_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="user_id" {$tooltipAttr vw_user_tenants user_id } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants user_id }		</div>
	</div>
	</div>


{END user_id_fieldblock}
											
{BEGIN tenant_id_fieldblock}


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

	<label class="r-edit-label control-label {$tenant_id_label_class}" for="{$labelfor_tenant_id}">
		{BEGIN tenant_id_label}
			{$tenant_id_forward_control}
			{$label vw_user_tenants tenant_id }			{END tenant_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$tenant_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="tenant_id" {$tooltipAttr vw_user_tenants tenant_id } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants tenant_id }		</div>
	</div>
	</div>


{END tenant_id_fieldblock}
											
{BEGIN tenant_code_fieldblock}


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

	<label class="r-edit-label control-label {$tenant_code_label_class}" for="{$labelfor_tenant_code}">
		{BEGIN tenant_code_label}
			{$tenant_code_forward_control}
			{$label vw_user_tenants tenant_code }			{END tenant_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$tenant_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="tenant_code" {$tooltipAttr vw_user_tenants tenant_code } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants tenant_code }		</div>
	</div>
	</div>


{END tenant_code_fieldblock}
											
{BEGIN tenant_name_fieldblock}


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

	<label class="r-edit-label control-label {$tenant_name_label_class}" for="{$labelfor_tenant_name}">
		{BEGIN tenant_name_label}
			{$tenant_name_forward_control}
			{$label vw_user_tenants tenant_name }			{END tenant_name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$tenant_name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="tenant_name" {$tooltipAttr vw_user_tenants tenant_name } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants tenant_name }		</div>
	</div>
	</div>


{END tenant_name_fieldblock}
											
{BEGIN slug_fieldblock}


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

	<label class="r-edit-label control-label {$slug_label_class}" for="{$labelfor_slug}">
		{BEGIN slug_label}
			{$slug_forward_control}
			{$label vw_user_tenants slug }			{END slug_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$slug_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="slug" {$tooltipAttr vw_user_tenants slug } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants slug }		</div>
	</div>
	</div>


{END slug_fieldblock}
											
{BEGIN tenant_status_fieldblock}


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

	<label class="r-edit-label control-label {$tenant_status_label_class}" for="{$labelfor_tenant_status}">
		{BEGIN tenant_status_label}
			{$tenant_status_forward_control}
			{$label vw_user_tenants tenant_status }			{END tenant_status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$tenant_status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="tenant_status" {$tooltipAttr vw_user_tenants tenant_status } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants tenant_status }		</div>
	</div>
	</div>


{END tenant_status_fieldblock}
											
{BEGIN role_code_fieldblock}


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

	<label class="r-edit-label control-label {$role_code_label_class}" for="{$labelfor_role_code}">
		{BEGIN role_code_label}
			{$role_code_forward_control}
			{$label vw_user_tenants role_code }			{END role_code_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$role_code_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="role_code" {$tooltipAttr vw_user_tenants role_code } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants role_code }		</div>
	</div>
	</div>


{END role_code_fieldblock}
											
{BEGIN is_owner_fieldblock}


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

	<label class="r-edit-label control-label {$is_owner_label_class}" for="{$labelfor_is_owner}">
		{BEGIN is_owner_label}
			{$is_owner_forward_control}
			{$label vw_user_tenants is_owner }			{END is_owner_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$is_owner_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="is_owner" {$tooltipAttr vw_user_tenants is_owner } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants is_owner }		</div>
	</div>
	</div>


{END is_owner_fieldblock}
											
{BEGIN is_default_tenant_fieldblock}


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

	<label class="r-edit-label control-label {$is_default_tenant_label_class}" for="{$labelfor_is_default_tenant}">
		{BEGIN is_default_tenant_label}
			{$is_default_tenant_forward_control}
			{$label vw_user_tenants is_default_tenant }			{END is_default_tenant_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$is_default_tenant_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="is_default_tenant" {$tooltipAttr vw_user_tenants is_default_tenant } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants is_default_tenant }		</div>
	</div>
	</div>


{END is_default_tenant_fieldblock}
											
{BEGIN membership_status_fieldblock}


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

	<label class="r-edit-label control-label {$membership_status_label_class}" for="{$labelfor_membership_status}">
		{BEGIN membership_status_label}
			{$membership_status_forward_control}
			{$label vw_user_tenants membership_status }			{END membership_status_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$membership_status_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="membership_status" {$tooltipAttr vw_user_tenants membership_status } >
		<div class="text-muted" >
		{$tooltip vw_user_tenants membership_status }		</div>
	</div>
	</div>


{END membership_status_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-page="vw_user_tenants_add"
		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} >
							{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>
