Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: AUREO SOUTO
Added: Dec 10, 2018 12:11 PM
Modified: Dec 11, 2018 11:53 AM
Views: 16
Tags: no tags
  1.    
  2.      <?php
  3.      
  4.     $idFornecedor = Yii::$app->request->get('id');
  5.    
  6.       echo Html::a('Cancelar',['/Processo/fornecedor/view','id'=>$idFornecedor],['class' => 'btn btn-danger']);
  7.    
  8.       echo "&nbsp;&nbsp;&nbsp;";
  9.    
  10.      echo Html::submitButton($model->isNewRecord ? 'Cadastrar' : 'Atualizar', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']);
  11.  
  12.      ?>
  13.