Exemple #1
0
 		</div>
    <script>
      btn=$("<a class='btn'><?php 
echo Yii::t('xata', 'Change');
?>
<i class='icon-edit'></i></a>");
      btn.offset($('#xatava').offset());
      $('#xatava').append(btn);
    </script>  
 		
 </div>
 <div class='span8'>
 	 <div class='label label-xata1'  style='margin:1px;padding:5px;'> 
   <?php 
$xt = new XataType();
$xts = $xt->findByPk($model->type_id)->getParentList();
foreach ($xts as $xt) {
    if ($xt != $xts[0]) {
        echo "<i class='icon-arrow-right'></i>";
    }
    echo $xt;
}
?>
   <br/>
   </div>
   
   <div class='label <?php 
if (!$model->cost) {
    echo 'label-important';
}
?>