Fields with * are required.
errorSummary($model); ?> isNewRecord) echo $form->textFieldControlGroup($model,'Date',array('span'=>5, 'value' => date('Y-m-d'))); else echo $form->textFieldControlGroup($model,'Date',array('span'=>5, )); ?> textFieldControlGroup($model,'Title',array('span'=>8)); ?> textAreaControlGroup($model,'Content',array('rows'=>30,'span'=>8)); ?> textFieldControlGroup($model,'ControllerID',array('span'=>8)); ?> isNewRecord) echo $form->textFieldControlGroup($model,'Visible',array('span'=>5, 'value' => '1')); else echo $form->textFieldControlGroup($model,'Visible',array('span'=>5, )); ?> isNewRecord) echo $form->textFieldControlGroup($model,'Enabled',array('span'=>5, 'value' => '1')); else echo $form->textFieldControlGroup($model,'Enabled',array('span'=>5, )); ?> 'POST', 'data' => ['Content' => 'js: $("#BlogPost_Content").val()'], 'update' => '#markdownAjaxContent', 'error'=>'function(msg){alert("An error has happened" + JSON.stringify(msg));}', ]); ?>