Proyek Final PA2

parent b695da05
...@@ -53,14 +53,14 @@ $this->params['breadcrumbs'][] = $this->title; ...@@ -53,14 +53,14 @@ $this->params['breadcrumbs'][] = $this->title;
?> ?>
<?php <?php
echo Button::Widget([ // echo Button::Widget([
'label'=>'label', // 'label'=>'label',
'options'=>['class' => 'btn btn-primary'], // 'options'=>['class' => 'btn btn-primary'],
'urlCreator' => function($action, $model, $key, $index){ // 'urlCreator' => function($action, $model, $key, $index){
return Url::toRoute(['acc-by-rektor', 'id' => $key]); // return Url::toRoute(['acc-by-rektor', 'id' => $key]);
} // }
]); // ]);
?> ?>
</div> </div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment