|
Form->postLink('x', array('action' => 'removeTag', $event['Event']['id'], $tag['Tag']['id']), array('class' => 'tagSecondHalf', 'title' => 'Delete'), ('Are you sure you want to delete this tag?'));
?>
|
Form->create('', array('action' => 'addTag', 'style' => 'margin:0px;'));
echo $this->Form->hidden('id', array('value' => $event['Event']['id']));
echo $this->Form->input('tag', array(
'options' => array($allTags),
'value' => 0,
'label' => false,
'style' => array('height:22px;padding:0px;margin-bottom:0px;'),
'onChange' => 'this.form.submit()',
'class' => 'input-large'));
echo $this->Form->end();
?>
|
|