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)); ?> 'POST', 'data' => ['Content' => 'js: $("#BlogPost_Content").val()'], 'update' => '#markdownAjaxContent', 'error'=>'function(msg){alert("An error has happened" + JSON.stringify(msg));}', ]); ?>