Skip to content

Commit

Permalink
Corrigido o link de exclusão.
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpacheco committed Apr 23, 2012
1 parent f7be760 commit 98cd972
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Console/Templates/default/views/form.ctp
Expand Up @@ -54,7 +54,7 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
<ul> <ul>


<?php if (strpos($action, 'add') === false): ?> <?php if (strpos($action, 'add') === false): ?>
<li><?php echo "<?php echo \$this->Form->postLink(__('Excluir'), array('action' => 'delete', \$this->Form->value('{$modelClass}.{$primaryKey}')), null, __(Você tem certeza que deseja excluir o # %s?', \$this->Form->value('{$modelClass}.{$primaryKey}'))); ?>";?></li> <li><?php echo "<?php echo \$this->Form->postLink(__('Excluir'), array('action' => 'delete', \$this->Form->value('{$modelClass}.{$primaryKey}')), null, __('Você tem certeza que deseja excluir o # %s?', \$this->Form->value('{$modelClass}.{$primaryKey}'))); ?>";?></li>
<?php endif;?> <?php endif;?>
<li><?php echo "<?php echo \$this->Html->link(__('Listar " . Inflexao::acentos($pluralHumanName) . "'), array('action' => 'index'));?>";?></li> <li><?php echo "<?php echo \$this->Html->link(__('Listar " . Inflexao::acentos($pluralHumanName) . "'), array('action' => 'index'));?>";?></li>
<?php <?php
Expand All @@ -70,4 +70,4 @@ require_once dirname(dirname(__FILE__)) . DS . 'Inflexao.php';
} }
?> ?>
</ul> </ul>
</div> </div>

0 comments on commit 98cd972

Please sign in to comment.