/**
  * @return array with filters for templated ListGrid widget
  */
 public static function getFiltersForListGrid()
 {
     return array('catalog_id' => TestCatalog::getOptions(_('- By catalog -'), NULL, TRUE), 'tags' => TestTags::getOptions(_('- By tag -')));
 }
echo CHtml::beginForm($action, 'post', array('id' => $formId, 'name' => get_class($model)));
?>

<?php 
echo FormDecorator::dropDownList($model, 'catalog_id', $model::getCatalogOptions(), array('onclick' => 'backendController.removeErrorHighlighting( this )'));
?>

<?php 
echo FormDecorator::textField($model, 'title', array('onclick' => 'backendController.removeErrorHighlighting( this )'));
echo FormDecorator::textArea($model, 'text', array('onclick' => 'backendController.removeErrorHighlighting( this )', 'class' => 'ckeditor'));
echo FormDecorator::textArea($model, 'meta_description', array('onclick' => 'backendController.removeErrorHighlighting( this )'));
echo FormDecorator::textArea($model, 'meta_keywords', array('onclick' => 'backendController.removeErrorHighlighting( this )'));
?>

<?php 
echo FormDecorator::multiSelect($model, 'tags', TestTags::getOptions(), array('onclick' => 'backendController.removeErrorHighlighting( this )'));
?>

<?php 
echo CHtml::activeHiddenField($model, 'image', array('id' => 'article-image-field'));
?>

<!-- OPTIONAL CODE -->
<div class="row-form clearfix">
    <div class="span2"><?php 
echo _('Available inner links:');
?>
</div>
    <div class="span10">
        <select style="width: 100%;"
                onchange="return backendController.onSelectPageUrl( '#copy-page-url', this);">