<?php

/* @var $this RelativeController */
/* @var $model Relative */
/* @var $form CActiveForm */
$this->widget('bootstrap.widgets.TbModal', array(
    'id' => 'checklist-form',
    'htmlOptions' => array('class' => 'show'),
    'header' => yii::t('default', 'Document Checklist'),
    'content' => Yii::app()->controller->renderPartial("/document/_chekclist_modal_content", array('model_id' => $model_id), true),
    'footer' => array(
	($from_view == null) ? TbHtml::button(Yii::t('default', 'Save'), array('data-dismiss' => 'modal', 'color' => TbHtml::BUTTON_COLOR_PRIMARY, "onClick" => 'save_changes_and_update_document_types();')) : '',
	TbHtml::button(Yii::t('default', ($from_view == null) ? 'Cancel' : 'Close'), array('id' => 'cancel_btn', 'data-dismiss' => 'modal')),
    ),
));
?>