<?php

/* @var $this RelativeController */
/* @var $model Relative */
/* @var $form CActiveForm */
$this->widget('bootstrap.widgets.TbModal', array(
    'id' => 'document-form',
    'htmlOptions' => array('class' => 'show'),
    'header' => yii::t('default',"TID's Documents"),
    'content' => Yii::app()->controller->renderPartial("/document/_modal_content", array('model_id' => $model_id), true),
    'footer' => array(
	TbHtml::button(Yii::t('default', 'Save'), array('data-dismiss' => 'modal', 'color' => TbHtml::BUTTON_COLOR_PRIMARY, "onClick" => 'save_changes_and_update_document_grid();')),
	TbHtml::button(Yii::t('default', 'Cancel'), array('id'=>'cancel_button','data-dismiss' => 'modal')),
    ),
));
?>