Data('Badges');
$Username = $this->Data('Username', 'Unknown');
echo '
';
echo Wrap(sprintf(T('Yaga.Badge.GiveTo'), $Username), 'h1');
echo $this->Form->Open();
echo $this->Form->Errors();
echo Wrap(
Wrap(
$this->Form->Label('Yaga.Badge', 'BadgeID') .
$this->Form->Dropdown('BadgeID', $Badges),
'li') .
Wrap(
$this->Form->Label('Yaga.Badge.Reason', 'Reason') .
$this->Form->TextBox('Reason', array('Multiline' => TRUE)),
'li') .
Wrap(
Anchor(T('Cancel'), 'badge/settings'),
'li'),
'ul'
);
echo $this->Form->Close('Yaga.Badge.Award');
echo '
';