'alert alert-warning'),$warningString); } ?> $settings) { $this->widget('ext.SettingsWidget.SettingsWidget', array( //'id'=>'summary', 'title'=>$legend, //'prefix' => $pluginClass, This break the label (id!=name) 'form' => false, 'formHtmlOptions'=>array( 'class'=>'form-core', ), 'labelWidth'=>6, 'controlWidth'=>6, 'settings' => $settings, )); } ?>
'.gT('Save'),array('type'=>'submit','name'=>'save'.$pluginClass,'value'=>'save','class'=>'btn btn-primary')); echo " "; echo CHtml::htmlButton(' '.gT('Save and close'),array('type'=>'submit','name'=>'save'.$pluginClass,'value'=>'redirect','class'=>'btn btn-default')); echo " "; echo CHtml::link(gT('Close'),Yii::app()->createUrl('admin/survey',array('sa'=>'view','surveyid'=>$surveyId)),array('class'=>'btn btn-danger')); ?>
clientScript->registerScriptFile($assetUrl.'/settings.js',CClientScript::POS_END); ?>