<!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-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-page="products_edit"
		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 products 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-page="products_edit"
		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 message_back_button}
			<button class="btn btn-sm btn-default" {$backbutton_attrs}>{mlang_message BACK_TO_LIST}</button>
	{END message_back_button}
{BEGIN message_view_page_button}
		<a class="btn btn-sm btn-default" href="products_view.php?{$editlink}" {$view_page_button_attrs}>{mlang_message VIEW}</a>
{END message_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}" data-page="products_edit" 
	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 name_fieldblock}


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

	<label class="r-edit-label control-label {$name_label_class}" for="{$labelfor_name}">
		{BEGIN name_label}
			{$name_forward_control}
			{$label products name }			{END name_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$name_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="name" {$tooltipAttr products name } >
		<div class="text-muted" >
		{$tooltip products name }		</div>
	</div>
	</div>


{END name_fieldblock}
											
{BEGIN details_fieldblock}


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

	<label class="r-edit-label control-label {$details_label_class}" for="{$labelfor_details}">
		{BEGIN details_label}
			{$details_forward_control}
			{$label products details }			{END details_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$details_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="details" {$tooltipAttr products details } >
		<div class="text-muted" >
		{$tooltip products details }		</div>
	</div>
	</div>


{END details_fieldblock}
											
{BEGIN discount_value_fieldblock}


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

	<label class="r-edit-label control-label {$discount_value_label_class}" for="{$labelfor_discount_value}">
		{BEGIN discount_value_label}
			{$discount_value_forward_control}
			{$label products discount_value }			{END discount_value_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$discount_value_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="discount_value" {$tooltipAttr products discount_value } >
		<div class="text-muted" >
		{$tooltip products discount_value }		</div>
	</div>
	</div>


{END discount_value_fieldblock}
											
{BEGIN discount_type_id_fieldblock}


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

	<label class="r-edit-label control-label {$discount_type_id_label_class}" for="{$labelfor_discount_type_id}">
		{BEGIN discount_type_id_label}
			{$discount_type_id_forward_control}
			{$label products discount_type_id }			{END discount_type_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$discount_type_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="discount_type_id" {$tooltipAttr products discount_type_id } >
		<div class="text-muted" >
		{$tooltip products discount_type_id }		</div>
	</div>
	</div>


{END discount_type_id_fieldblock}
											
{BEGIN gender_fieldblock}


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

	<label class="r-edit-label control-label {$gender_label_class}" for="{$labelfor_gender}">
		{BEGIN gender_label}
			{$gender_forward_control}
			{$label products gender }			{END gender_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$gender_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="gender" {$tooltipAttr products gender } >
		<div class="text-muted" >
		{$tooltip products gender }		</div>
	</div>
	</div>


{END gender_fieldblock}
											
{BEGIN category_id_fieldblock}


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

	<label class="r-edit-label control-label {$category_id_label_class}" for="{$labelfor_category_id}">
		{BEGIN category_id_label}
			{$category_id_forward_control}
			{$label products category_id }			{END category_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$category_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="category_id" {$tooltipAttr products category_id } >
		<div class="text-muted" >
		{$tooltip products category_id }		</div>
	</div>
	</div>


{END category_id_fieldblock}
											
{BEGIN supplier_id_fieldblock}


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

	<label class="r-edit-label control-label {$supplier_id_label_class}" for="{$labelfor_supplier_id}">
		{BEGIN supplier_id_label}
			{$supplier_id_forward_control}
			{$label products supplier_id }			{END supplier_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$supplier_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="supplier_id" {$tooltipAttr products supplier_id } >
		<div class="text-muted" >
		{$tooltip products supplier_id }		</div>
	</div>
	</div>


{END supplier_id_fieldblock}
											
{BEGIN availability_fieldblock}


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

	<label class="r-edit-label control-label {$availability_label_class}" for="{$labelfor_availability}">
		{BEGIN availability_label}
			{$availability_forward_control}
			{$label products availability }			{END availability_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$availability_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="availability" {$tooltipAttr products availability } >
		<div class="text-muted" >
		{$tooltip products availability }		</div>
	</div>
	</div>


{END availability_fieldblock}
											
{BEGIN photo_fieldblock}


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

	<label class="r-edit-label control-label {$photo_label_class}" for="{$labelfor_photo}">
		{BEGIN photo_label}
			{$photo_forward_control}
			{$label products photo }			{END photo_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$photo_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="photo" {$tooltipAttr products photo } >
		<div class="text-muted" >
		{$tooltip products photo }		</div>
	</div>
	</div>


{END photo_fieldblock}
											
{BEGIN active_fieldblock}


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

	<label class="r-edit-label control-label {$active_label_class}" for="{$labelfor_active}">
		{BEGIN active_label}
			{$active_forward_control}
			{$label products active }			{END active_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$active_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="active" {$tooltipAttr products active } >
		<div class="text-muted" >
		{$tooltip products active }		</div>
	</div>
	</div>


{END active_fieldblock}
											
{BEGIN isFeatured_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_isFeatured}  r-vertical-field" 
	data-signal-error-for="isFeatured{$id}" {$required_attr_isFeatured}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field13" {$item_integrated_edit_field13}="" data-pageid="{$pageid}" data-field="isFeatured" data-fieldname="isFeatured" >

	<label class="r-edit-label control-label {$isFeatured_label_class}" for="{$labelfor_isFeatured}">
		{BEGIN isFeatured_label}
			{$isFeatured_forward_control}
			{$label products isFeatured }			{END isFeatured_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$isFeatured_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="isFeatured" {$tooltipAttr products isFeatured } >
		<div class="text-muted" >
		{$tooltip products isFeatured }		</div>
	</div>
	</div>


{END isFeatured_fieldblock}
											
{BEGIN isDraft_fieldblock}


<div class="r-integrated-field form-group clearfix {$fielddispclass_isDraft}  r-vertical-field" 
	data-signal-error-for="isDraft{$id}" {$required_attr_isDraft}
	data-itemtype="integrated_edit_field" data-itemid="integrated_edit_field14" {$item_integrated_edit_field14}="" data-pageid="{$pageid}" data-field="isDraft" data-fieldname="isDraft" >

	<label class="r-edit-label control-label {$isDraft_label_class}" for="{$labelfor_isDraft}">
		{BEGIN isDraft_label}
			{$isDraft_forward_control}
			{$label products isDraft }			{END isDraft_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$isDraft_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="isDraft" {$tooltipAttr products isDraft } >
		<div class="text-muted" >
		{$tooltip products isDraft }		</div>
	</div>
	</div>


{END isDraft_fieldblock}
											
{BEGIN updated_by_admin_id_fieldblock}


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

	<label class="r-edit-label control-label {$updated_by_admin_id_label_class}" for="{$labelfor_updated_by_admin_id}">
		{BEGIN updated_by_admin_id_label}
			{$updated_by_admin_id_forward_control}
			{$label products updated_by_admin_id }			{END updated_by_admin_id_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$updated_by_admin_id_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="updated_by_admin_id" {$tooltipAttr products updated_by_admin_id } >
		<div class="text-muted" >
		{$tooltip products updated_by_admin_id }		</div>
	</div>
	</div>


{END updated_by_admin_id_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="products_edit"
		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} >
							{mlang_message 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} >
							{mlang_message 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} >
							{mlang_message 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">
							{BEGIN reset_button}
	<li data-itemtype="edit_reset" data-itemid="edit_reset" {$item_edit_reset}="" data-pageid="{$pageid}" data-small="" >
				<a  {$resetbutton_attrs}  title="" >
				
		{mlang_message RESET}		
		</a>
	</li>
{END reset_button}
							{BEGIN view_page_button}
	<li data-itemtype="edit_view" data-itemid="edit_view" {$item_edit_view}="" data-pageid="{$pageid}" data-small="" >
				<a  href="products_view.php?{$editlink}" {$view_page_button_attrs}  title="" >
				
		{mlang_message VIEW}		
		</a>
	</li>
{END view_page_button}
					</ul>
	</span>
</span>
	</div>					</div>
	</div>		
{END below-grid_block}
			</div>
		{$footer}
	{END body}
	</body>
</html>
