<div class="controls">
<?php
$this->widget('ext.elFinder.ServerFileInput', array('model' => $model, 'attribute' => 'image', 'connectorRoute' => 'sysadmin/elfinder/connector'));
?>
</div>
</div>
<?php
echo $form->textFieldRow($model, 'order', array('class' => 'span5'));
?>
<?php
echo $form->dropDownListRow($model, 'parent', Category::getCategories(), array('class' => 'span3'));
?>
<?php
echo $form->dropDownListRow($model, 'taxonomy_id', Taxonomy::getTaxonomy(), array('class' => 'span3'));
?>
<?php
echo $form->dropDownListRow($model, 'state', array(1 => 'Publish', 0 => 'UnPublish'));
?>
</fieldset>
<?php
$this->endWidget();
$this->widget('ext.TiiSlug.TiiSlug', array('model' => $model, 'source' => 'title', 'target' => 'slug'));
?>