<?= $this->Form->create($section, ['enctype' => 'multipart/form-data', 'class'=>'form-horizontal row-fluid']) ?>
<div class="row form-area">
	<div class="col-sm-12">
		
		<div class="row form-group" id="parent_sections">
			<div class="col-sm-3 col-xs-12 field-label">
			 Category
			</div>
			<div class="col-sm-7 col-xs-12 select-input">
				<?= $this->Form->input('parent_category_id', ['class' => 'form-control', 'options' => $parentSections, 'label' => false, 'empty'=>'-- Select --','required']);?>
				
			</div>
			
			
		</div>
		<div class="row form-group">
			<div class="col-sm-3 col-xs-12 field-label">
				Name
			</div>
			<div class="col-sm-7 col-xs-12 text-input">
				<?= $this->Form->input('name', ['class' => 'form-control', 'label' => false, 'required']);?>
			</div>
		</div>
		
		<div class="row form-group">
			<div class="col-sm-3 col-xs-12 field-label">
				Description
			</div>
			<div class="col-sm-7 col-xs-12 text-input">
				<?= $this->Form->input('description', ['class' => 'form-control', 'label' => false, 'required']);?>
			</div>
		</div>

		
		
		
		
		<div class="row form-group">
			
			<div class="col-sm-9 col-xs-12 col-sm-offset-3">
				<?= $this->Form->button('Save', ['class' => 'btn btn-primary']); ?>
			</div>
		</div>		
	</div>
</div>
<?= $this->Form->end() ?>