'uploadButton', { 'allowedExtensions':[ 'jpg', 'jpeg', 'png' ], 'sizeLimit':20000000 } ); } ); </script> <?php 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 CHtml::activeHiddenField($model, 'image', array('id' => 'article-image-field')); ?> <div class="footer tar"> <?php
?> <?php echo FormDecorator::textField($model, 'last_name', array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::textField($model, 'email', array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::textField($model, 'password', array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::dropDownList($model, 'sex', User::getSexOptions(), array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::dropDownList($model, 'marital_id', MaritalStatus::getOptions(), array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::textField($model, 'country', array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::textField($model, 'city', array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::textField($model, 'languages', array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php echo FormDecorator::textField($model, 'contacts', array('onclick' => 'backendController.removeErrorHighlighting( this )')); ?> <?php