<!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="tb_cotacao_material_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 tb_cotacao_material 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="tb_cotacao_material_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="tb_cotacao_material_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="tb_cotacao_material_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 materialID_fieldblock}


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

	<label class="r-edit-label control-label {$materialID_label_class}" for="{$labelfor_materialID}">
		{BEGIN materialID_label}
			{$materialID_forward_control}
			{$label tb_cotacao_material materialID }			{END materialID_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$materialID_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="materialID" {$tooltipAttr tb_cotacao_material materialID } >
		<div class="text-muted" >
		{$tooltip tb_cotacao_material materialID }		</div>
	</div>
	</div>


{END materialID_fieldblock}
											
{BEGIN data_fieldblock}


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

	<label class="r-edit-label control-label {$data_label_class}" for="{$labelfor_data}">
		{BEGIN data_label}
			{$data_forward_control}
			{$label tb_cotacao_material data }			{END data_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$data_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="data" {$tooltipAttr tb_cotacao_material data } >
		<div class="text-muted" >
		{$tooltip tb_cotacao_material data }		</div>
	</div>
	</div>


{END data_fieldblock}
											
{BEGIN cotacao_fieldblock}


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

	<label class="r-edit-label control-label {$cotacao_label_class}" for="{$labelfor_cotacao}">
		{BEGIN cotacao_label}
			{$cotacao_forward_control}
			{$label tb_cotacao_material cotacao }			{END cotacao_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$cotacao_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="cotacao" {$tooltipAttr tb_cotacao_material cotacao } >
		<div class="text-muted" >
		{$tooltip tb_cotacao_material cotacao }		</div>
	</div>
	</div>


{END cotacao_fieldblock}
											
{BEGIN vigente_fieldblock}


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

	<label class="r-edit-label control-label {$vigente_label_class}" for="{$labelfor_vigente}">
		{BEGIN vigente_label}
			{$vigente_forward_control}
			{$label tb_cotacao_material vigente }			{END vigente_label}
		<span class="icon-required"></span>
	</label>
	<div class="r-edit-field">
		{$vigente_editcontrol}	</div>
		<div class="r-edit-tooltip" data-helpfor="vigente" {$tooltipAttr tb_cotacao_material vigente } >
		<div class="text-muted" >
		{$tooltip tb_cotacao_material vigente }		</div>
	</div>
	</div>


{END vigente_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="tb_cotacao_material_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="tb_cotacao_material_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>
