patched deleting of attributes

pull/61/head
Andrzej Dereszowski 2012-04-15 19:41:50 +02:00
parent 29c5411ece
commit 280baac989
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@
<?php
if ($isAdmin || $event['Event']['org'] == $me['org']) {
echo $this->Html->link(__('Edit', true), array('controller' => 'attributes', 'action' => 'edit', $attribute['id']));
echo $this->Html->link(__('Delete', true), array('controller' => 'attributes', 'action' => 'delete', $attribute['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $attribute['id']));
echo $this->Form->postLink(__('Delete', true), array('controller' => 'attributes', 'action' => 'delete', $attribute['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $attribute['id']));
} ?>
</td>
</tr>