Hi there i am new and i have for you a simple Question about Yii 1.1.16
I have a view with one datetime field
<?php echo $form->dateTimeLocalField($model, 'verifizierungAufschub'); ?>
i have a action
public function actionAufschub($id)
{
$model=$this->loadModel($id);
if(isset($model->verifizierungAufschub))
if ($model->update()) {
$this->redirect(array('site/index'));
}
$this->render('aufschub',array(
'model' =>$model,
));
}
the model is correct in default actions/views i can edit the attribut.
but with my custom action, nothng will be stored… can you please help me? that would be great!