<?php
$this->pageTitle = Yii::app()->name . ' - ' . SliderModule::t('Edit image');

$this->menu = array(
    AdminLteHelper::getBackMenuLink(SliderModule::t('Manage carousel'), array('admin')),
    AdminLteHelper::getAddMenuLink(SliderModule::t('Add carousel'), array('create')),
    AdminLteHelper::getDeleteMenuLink(SliderModule::t('Delete carousel'), '#', array(
        'linkOptions' => array(
            'submit' => array('delete', 'id' => $model->id),
            'confirm' => tc('Are you sure you want to delete this item?'),
            'csrf' => true,
        ),
    )),
);
$this->adminTitle = SliderModule::t('Edit carousel');

?>

<?php echo $this->renderPartial('_form', array('model' => $model, 'isCreate' => false)); ?>