<?php echo $this->render('admin/header.phtml'); ?>


<script type="text/javascript" language="javascript">

	$(document).ready(function () {
		
	});

</script>

<div class="container">		

<?php echo $this->render('admin/menu.phtml'); ?>


<script type="text/javascript" language="javascript">

	$(document).ready(function () {	

		$('#formAddCategory').validate({
			errorClass: "formError",
			errorElement: "div",
			rules: {
				schema_product_name: {
					required: true
				}
			},
			messages: {
				schema_product_name: {
					required: "<?php echo @Lib_Lang::translate(admin_colorschema_required); ?>"
				}
			}
		});	
	
	
	});

</script>

	
	<div class="row">
		<div class="col-xs-3 col-sm-3 col-md-3">
			<h3><?php echo @Lib_Lang::translate(admin_colorschema_add_top); ?></h3>
		</div>
		<div class="col-xs-9 col-sm-9 col-md-9 text-right">
			<a href="<?php echo @$this->url(array('controller' => 'admin', 'action' => 'schema'), 'default', true); ?>" class="btn btn-default btn-sm"><i class='fa fa-th'></i> <?php echo @Lib_Lang::translate(admin_colorschema_menu_list); ?></a>
		</div>
	</div>


		
	<form id="formAddCategory" method="post" class="form-horizontal">
	
	
	<div class="row">
		<div class="col-xs-12 col-sm-4 col-md-4 text-right formLabelMarginTop"><?php echo @Lib_Lang::translate(admin_colorschema_name); ?></div>
		<div class="col-xs-12 col-sm-8 col-md-8"><input maxlength="100" name="schema_product_name" class="form-control" /></div>
	</div>
	
	<div class="row">
		<div class="col-xs-12 col-sm-4 col-md-4 text-right formLabelMarginTop"><?php echo @Lib_Lang::translate(admin_colorschema_type); ?></div>
		<div class="col-xs-12 col-sm-8 col-md-8">
		
			<select name="schema_product_type" class="form-control">
				<?php for( $j = 0; $j != 3; $j++ ){ ?>
				<option value="<?php echo$j; ?>"><?php echo @Lib_Lang::consta(admin_schema_type.$j); ?></option>
				<?php } ?>
			</select>
		
		</div>
	</div>

	

	
	<div class="row">
		<div class="col-xs-12 col-sm-4 col-md-4 text-right"></div>
		<div class="col-xs-12 col-sm-8 col-md-8"><input name="admin_addcolorschema" class="btn btn-info form-control" type="submit" value="<?php echo @Lib_Lang::translate(admin_colorschema_add_button); ?>" /></div>
	</div>
	
	</form>	
		
</div>

<?php echo $this->render('admin/footer.phtml'); ?>