<?php
/* @var $this HtmlblockController */
/* @var $model Htmlblock */
/* @var $form CActiveForm */
?>
<div class="col-xs-12">
    <?php
    $form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
        'action' => Yii::app()->createUrl($this->route),
        'method' => 'get',
    ));
    ?>

    <?php echo $form->textFieldControlGroup($model, 'id'); ?>


    <?php echo $form->textFieldControlGroup($model, 'title', array('size' => 60, 'maxlength' => 200)); ?>
    <?php echo $form->textFieldControlGroup($model, 'slug', array('size' => 60, 'maxlength' => 80)); ?>

    <?php echo $form->textAreaControlGroup($model, 'content', array('rows' => 6, 'cols' => 50)); ?>


    <?php echo $form->textFieldControlGroup($model, 'language', array('size' => 2, 'maxlength' => 2)); ?>


    <?php echo TbHtml::formActions(array(TbHtml::submitButton('Search', array('color' => TbHtml::BUTTON_COLOR_PRIMARY)))); ?>

    <?php $this->endWidget(); ?>
</div><!-- search-form -->