Commit ee10634c91660b99b631f25877eaf07b6f606e85
1 parent
680c24c8
Exists in
master
and in
3 other branches
CANCEL de l'édition d'un matériel
redirige maintenant sur la vue du matériel, pas sur l'index des matériels
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/Template/Materiels/edit.ctp
... | ... | @@ -77,7 +77,7 @@ if ($IS_VALIDATED) |
77 | 77 | style="margin-bottom: 20px; width: 100%; float: none; padding: 10px 0;"> |
78 | 78 | <?=$this->Form->submit(__('Enregistrer'))?> |
79 | 79 | |
80 | - <?=$this->Html->link(__('<i class="icon-minus-sign"></i> Annuler'), ['action' => 'index'], ['escape' => false,'onclick' => 'return true;','style' => 'margin-right: 10px'])?> | |
80 | + <?=$this->Html->link(__('<i class="icon-minus-sign"></i> Annuler'), ['action' => 'view', $materiel->id], ['escape' => false,'onclick' => 'return true;','style' => 'margin-right: 10px'])?> | |
81 | 81 | </div> |
82 | 82 | |
83 | 83 | <?php | ... | ... |