Skip to content

Commit

Permalink
Merge 0bbd362 into d085bd6
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayman Alkom committed May 13, 2015
2 parents d085bd6 + 0bbd362 commit b2194dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Template/Bake/Template/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ $fields = collection($fields)
$pk = '$' . $singularVar . '->' . $primaryKey[0];
%>
<td class="actions">
<?= $this->Html->link(__('View'), ['action' => 'view', <%= $pk %>]) ?>
<?= $this->Html->link(__('Edit'), ['action' => 'edit', <%= $pk %>]) ?>
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', <%= $pk %>], ['confirm' => __('Are you sure you want to delete # {0}?', <%= $pk %>)]) ?>
<?= $this->Html->link('', ['action' => 'view', <%= $pk %>],['class'=>'btn btn-default glyphicon glyphicon-eye-open']) ?>
<?= $this->Html->link('', ['action' => 'edit', <%= $pk %>],['class'=>'btn btn-default glyphicon glyphicon-pencil']) ?>
<?= $this->Form->postLink('', ['action' => 'delete', <%= $pk %>], ['confirm' => __('Are you sure you want to delete # {0}?', <%= $pk %>),'class'=> 'btn btn-default glyphicon glyphicon-trash']) ?>
</td>
</tr>

Expand Down

0 comments on commit b2194dd

Please sign in to comment.