echo Yii::t("default", "Add New");
?>
</a>
<a href="<?php 
echo Yii::app()->request->baseUrl;
?>
/admin/faxtransaction" class="uk-button"><i class="fa fa-list"></i> <?php 
echo Yii::t("default", "List");
?>
</a>
</div>


<?php 
if (isset($_GET['id'])) {
    if (!($data = $f->getFaxTransaction($_GET['id']))) {
        echo "<div class=\"uk-alert uk-alert-danger\">" . Yii::t("default", "Sorry but we cannot find what your are looking for.") . "</div>";
        return;
    }
}
?>
                                   

<div class="spacer"></div>

<form class="uk-form uk-form-horizontal forms" id="forms">
<?php 
echo CHtml::hiddenField('action', 'updateFaxTransaction');
echo CHtml::hiddenField('id', isset($_GET['id']) ? $_GET['id'] : "");
if (!isset($_GET['id'])) {
    echo CHtml::hiddenField("redirect", Yii::app()->request->baseUrl . "/admin/faxtransaction/Do/Add");